recover vite config
This commit is contained in:
@@ -41,12 +41,12 @@ export default defineConfig({
|
|||||||
// 代理配置,用于开发环境
|
// 代理配置,用于开发环境
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://127.0.0.1:8080',
|
target: 'http://localhost:8080',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
},
|
},
|
||||||
'/files': {
|
'/files': {
|
||||||
target: 'http://127.0.0.1:8080',
|
target: 'http://localhost:8080',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user