fix: evite erreur cors sur vite dev
This commit is contained in:
parent
2c7c5c8f4b
commit
b27733f01b
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ export default defineConfig(({ mode }) => {
|
||||||
host: true,
|
host: true,
|
||||||
port: port,
|
port: port,
|
||||||
strictPort: true,
|
strictPort: true,
|
||||||
|
cors: true
|
||||||
},
|
},
|
||||||
|
|
||||||
// required for in-browser template compilation
|
// required for in-browser template compilation
|
||||||
|
|
Loading…
Add table
Reference in a new issue