We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5f27a8 commit 39587e6Copy full SHA for 39587e6
apps/hono-example/src/index.ts
@@ -1,10 +1,12 @@
1
import { Hono } from 'hono';
2
+import { cors } from 'hono/cors';
3
import { logger } from 'hono/logger';
4
import manualRoutes from './routes/manual';
5
import engineRoutes from './routes/engine';
6
7
const app = new Hono();
8
9
+app.use('*', cors({ origin: '*' }));
10
app.use('*', logger());
11
12
// Timing Middleware
0 commit comments