Spaces:
Sleeping
Sleeping
T1ckbase
commited on
Commit
·
c4e4521
1
Parent(s):
e9350ef
json
Browse files
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.
|
| 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);
|