fix
This commit is contained in:
parent
a313ef1988
commit
64501606c0
|
@ -52,9 +52,8 @@ export default defineConfig({
|
||||||
port: 3000,
|
port: 3000,
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://127.0.0.1:4000',
|
target: 'https://todou.net',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
ws: true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
allowedHosts: ['localhost', 'todou.net']
|
allowedHosts: ['localhost', 'todou.net']
|
||||||
|
|
Loading…
Reference in New Issue