Allow all hosts in Vite config for reverse proxy
This commit is contained in:
parent
452da00064
commit
238a639b01
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ export default defineConfig({
|
|||
server: {
|
||||
port: 3000,
|
||||
open: true,
|
||||
allowedHosts: true,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:5001',
|
||||
|
|
|
|||
Loading…
Reference in a new issue