修改端口9001为9002

This commit is contained in:
xdragon 2024-09-05 15:33:38 +08:00
parent 8497f652bc
commit a5cf527e8d
47 changed files with 109 additions and 109 deletions

View file

@ -20,24 +20,24 @@ export default defineConfig({
server:{
proxy:{
'/static':{
target: 'http://localhost:9001',
target: 'http://localhost:9002',
changeOrigin: true,
secure: false,
},
'/views/manifest.json':{
target: 'http://localhost:9001',
target: 'http://localhost:9002',
changeOrigin: true,
secure: false,
rewrite: (path) => path.replace(/^\/views/, ''),
},
'/locales.json':{
target: 'http://localhost:9001',
target: 'http://localhost:9002',
changeOrigin: true,
secure: false,
rewrite: (path) => path.replace(/^\/views/, ''),
},
'/locales':{
target: 'http://localhost:9001',
target: 'http://localhost:9002',
changeOrigin: true,
secure: false,
rewrite: (path) => path.replace(/^\/views/, ''),