T1ckbase commited on
Commit
c4e4521
·
1 Parent(s): e9350ef
Files changed (1) hide show
  1. main.ts +1 -1
main.ts CHANGED
@@ -7,7 +7,7 @@ const HF_API_URL = 'https://api-inference.huggingface.co';
7
  const app = new Hono();
8
 
9
  app.use(logger());
10
- app.get('*', (c) => c.text('Hello Hono!'));
11
 
12
  app.post('*', async (c) => {
13
  const { pathname, search } = new URL(c.req.url);
 
7
  const app = new Hono();
8
 
9
  app.use(logger());
10
+ app.get('*', (c) => c.json('Hello Hono!'));
11
 
12
  app.post('*', async (c) => {
13
  const { pathname, search } = new URL(c.req.url);