|
@@ -16,8 +16,7 @@ const name = defaultSettings.title || "OA系统"; // page title
|
|
|
const port = process.env.port || process.env.npm_config_port || 9527; // dev port
|
|
|
|
|
|
const MonacoWebpackPlugin = require("monaco-editor-webpack-plugin");
|
|
|
-// const target = "https://manonline.dayaedu.com";
|
|
|
-const target = "https://mantest.dayaedu.com";
|
|
|
+const target = "https://test.gym.lexiaoya.cn";
|
|
|
// All configuration item explanations can be find in https://cli.vuejs.org/config/
|
|
|
module.exports = {
|
|
|
/**
|
|
@@ -27,7 +26,7 @@ module.exports = {
|
|
|
* In most cases please use '/' !!!
|
|
|
* Detail: https://cli.vuejs.org/config/#publicpath
|
|
|
*/
|
|
|
- publicPath: "/",
|
|
|
+ publicPath: "./",
|
|
|
outputDir: "web",
|
|
|
assetsDir: "static/web",
|
|
|
lintOnSave: false, // process.env.NODE_ENV === 'development',
|
|
@@ -42,12 +41,6 @@ module.exports = {
|
|
|
proxy: {
|
|
|
// change xxx-api/login => mock/login
|
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
|
- // http://47.99.212.176:8000
|
|
|
- // http://192.168.3.28:8000
|
|
|
- // http://192.168.3.134
|
|
|
- // http://47.114.176.40:8000
|
|
|
- // let target = 'http://dev.dayaedu.com'
|
|
|
- // 'http://dev.dayaedu.com'
|
|
|
"/api-auth": {
|
|
|
target: target,
|
|
|
// target : target,
|