We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e47b004 commit 824c998Copy full SHA for 824c998
src/runtime/cors.dev.ts
@@ -5,7 +5,9 @@ export default eventHandler((event) => {
5
handleCors(event, {
6
methods: '*',
7
origin: [
8
- 'https://admin.hub.nuxt.com'
+ 'https://admin.hub.nuxt.com',
9
+ 'https://hub.nuxt.dev',
10
+ /http:\/\/localhost:\d+/
11
]
12
})
13
0 commit comments