后台管理功能实现
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# 开发环境配置
|
||||
VITE_APP_TITLE=情绪博物馆管理后台
|
||||
VITE_APP_BASE_API=/api
|
||||
VITE_APP_BASE_API=http://localhost:19089/api
|
||||
VITE_APP_PORT=5174
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
# 生产环境配置
|
||||
VITE_APP_TITLE=情绪博物馆管理后台
|
||||
VITE_APP_BASE_API=/api
|
||||
# 生产环境需要配置实际的后端服务器地址
|
||||
VITE_APP_BASE_API=http://localhost:19089/api
|
||||
|
||||
Generated
+4194
File diff suppressed because it is too large
Load Diff
@@ -13,8 +13,9 @@ export default defineConfig({
|
||||
port: 5174,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:8080',
|
||||
changeOrigin: true
|
||||
target: 'http://localhost:19089',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user