| | |
| | | return path.join(__dirname, dir) |
| | | } |
| | | |
| | | const name = process.env.VUE_APP_TITLE || 'RuoYi-Vue-Plus后台管理系统' // 网页标题 |
| | | const name = process.env.VUE_APP_TITLE || '云通OA办公系统' // 网页标题 |
| | | |
| | | const port = process.env.port || process.env.npm_config_port || 80 // 端口 |
| | | |
| | |
| | | proxy: { |
| | | // detail: https://cli.vuejs.org/config/#devserver-proxy |
| | | [process.env.VUE_APP_BASE_API]: { |
| | | target: `http://localhost:8080`, |
| | | target: `http://47.95.0.46:8080`, |
| | | // target: `http://101.35.174.42:8082`, |
| | | // target: `http://localhost:8081`, |
| | | changeOrigin: true, |
| | | pathRewrite: { |
| | | ['^' + process.env.VUE_APP_BASE_API]: '' |