feat(fsgx): 管理后台与部署相关更新
- admin: 路由守卫修复空白页、addRoute、devServer 端口与代理 - admin: package.json 生产构建去掉 NODE_OPTIONS openssl - ajcaptcha: 滑块验证码改用 file 缓存避免 Redis NOAUTH - nginx-crmeb: 增加 81 端口站点 - docs: deploy 补充 NOAUTH/Redis 说明,新增 H5 部署脚本与 nginx 示例 - 其他: database、start-api、swoole ini、uniapp 资源等 Made-with: Cursor
This commit is contained in:
@@ -27,11 +27,11 @@ module.exports = {
|
||||
productionSourceMap: false, //关闭生产环境下的SourceMap映射文件
|
||||
devServer: {
|
||||
publicPath: Setting.publicPath,
|
||||
port: 8080,
|
||||
port: 8085,
|
||||
proxy: {
|
||||
'/adminapi': { target: 'http://127.0.0.1:20199', changeOrigin: true },
|
||||
'/api': { target: 'http://127.0.0.1:20199', changeOrigin: true },
|
||||
'/kefuapi': { target: 'http://127.0.0.1:20199', changeOrigin: true },
|
||||
'/adminapi': { target: process.env.VUE_APP_API_URL ? new URL(process.env.VUE_APP_API_URL).origin : 'http://127.0.0.1:20199', changeOrigin: true },
|
||||
'/api': { target: process.env.VUE_APP_API_URL ? new URL(process.env.VUE_APP_API_URL).origin : 'http://127.0.0.1:20199', changeOrigin: true },
|
||||
'/kefuapi': { target: process.env.VUE_APP_API_URL ? new URL(process.env.VUE_APP_API_URL).origin : 'http://127.0.0.1:20199', changeOrigin: true },
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user