T1ckbase commited on
Commit
d4d4332
·
1 Parent(s): 7fe37cd
Files changed (1) hide show
  1. main.ts +4 -0
main.ts CHANGED
@@ -58,5 +58,9 @@ app.post('/v1/chat/completions', async (c) => {
58
  });
59
  });
60
 
 
 
 
 
61
  // Deno.serve({ port: 7860 }, app.fetch);
62
  export default app.fetch;
 
58
  });
59
  });
60
 
61
+ app.post('/v1/images/generations', async (c) => {
62
+ console.log('body:', await c.req.json());
63
+ });
64
+
65
  // Deno.serve({ port: 7860 }, app.fetch);
66
  export default app.fetch;