Spaces:
Paused
Paused
T1ckbase
commited on
Commit
·
aa1e918
1
Parent(s):
efc06d1
test
Browse files
main.ts
CHANGED
|
@@ -2,11 +2,13 @@ import { Hono } from 'hono';
|
|
| 2 |
import { logger } from 'hono/logger';
|
| 3 |
import { serveStatic } from 'hono/deno';
|
| 4 |
|
|
|
|
|
|
|
| 5 |
const app = new Hono();
|
| 6 |
|
| 7 |
app.use(logger());
|
| 8 |
|
| 9 |
-
app.get('/', (c) => c.text('
|
| 10 |
|
| 11 |
// app.get('*', serveStatic({ path: './gray.svg' }));
|
| 12 |
app.get('*', (c) => {
|
|
|
|
| 2 |
import { logger } from 'hono/logger';
|
| 3 |
import { serveStatic } from 'hono/deno';
|
| 4 |
|
| 5 |
+
// https://t1ckbase-minesweeper.hf.space
|
| 6 |
+
|
| 7 |
const app = new Hono();
|
| 8 |
|
| 9 |
app.use(logger());
|
| 10 |
|
| 11 |
+
app.get('/', (c) => c.text('Play minesweeper:\nhttps://github.com/T1ckbase\n\n' + Array.from(c.req.raw.headers).join('\n')));
|
| 12 |
|
| 13 |
// app.get('*', serveStatic({ path: './gray.svg' }));
|
| 14 |
app.get('*', (c) => {
|