We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 249ff87 commit 03ca021Copy full SHA for 03ca021
server/utils/cached-cors.ts
@@ -10,7 +10,7 @@ export function defineCachedCorsEventHandler(eventHandler: EventHandler, cacheOp
10
preflight: {
11
statusCode: 204,
12
},
13
- origin: [import.meta.dev ? 'http://localhost:3000' : 'https://unsight.dev', 'https://github.com'],
+ origin: ['http://localhost:3000', 'https://unsight.dev', 'https://github.com'],
14
})
15
16
if (handled || event.method !== 'GET') {
0 commit comments