fix: enable strictPort for vite to prevent CORS error
This commit is contained in:
parent
ac3cae6d72
commit
f32e7a27ae
1 changed files with 3 additions and 0 deletions
|
@ -7,4 +7,7 @@ export default defineConfig({
|
|||
optimizeDeps: {
|
||||
exclude: [],
|
||||
},
|
||||
server: {
|
||||
strictPort: true
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue