Add result and job management APIs
This commit is contained in:
@@ -21,7 +21,9 @@ async function loadTemplate(): Promise<Record<string, unknown>> {
|
||||
}
|
||||
|
||||
export const routes = {
|
||||
"/builder": index,
|
||||
"/builder": {
|
||||
GET: withAuth(async () => index),
|
||||
},
|
||||
|
||||
"/api/save": {
|
||||
POST: withAuth(async (req: Request) => {
|
||||
|
||||
Reference in New Issue
Block a user