recover vite config
parent
848bbde25d
commit
082c92af25
|
|
@ -41,12 +41,12 @@ export default defineConfig({
|
|||
// 代理配置,用于开发环境
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://127.0.0.1:8080',
|
||||
target: 'http://localhost:8080',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
'/files': {
|
||||
target: 'http://127.0.0.1:8080',
|
||||
target: 'http://localhost:8080',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue