mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
🐜 fix(api): Fix double CORS issue
This commit is contained in:
@@ -18,7 +18,6 @@ patchLogger();
|
|||||||
export const app = new Hono();
|
export const app = new Hono();
|
||||||
app
|
app
|
||||||
.use(logger())
|
.use(logger())
|
||||||
.use(cors())
|
|
||||||
.use(async (c, next) => {
|
.use(async (c, next) => {
|
||||||
c.header("Cache-Control", "no-store");
|
c.header("Cache-Control", "no-store");
|
||||||
return next();
|
return next();
|
||||||
|
|||||||
Reference in New Issue
Block a user