浏览代码

修改配置

denny 2 年之前
父节点
当前提交
1f667c6ed9
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      vue.config.js

+ 1 - 2
vue.config.js

@@ -14,7 +14,7 @@ module.exports = {
 		port: appConfig.AppConfig.APP_Port, //挂载端口
 		proxy: {
 			'/api': {
-				target: appConfig.AppConfig.Sub_Domain,
+				target: appConfig.AppConfig.API_URL,
 				ws: true,
 				changeOrigin: true,
 				pathRewrite: {
@@ -24,7 +24,6 @@ module.exports = {
 		}
 	},
 	chainWebpack: config => {
-		console.log("appConfig",appConfig);
 		// 移除 prefetch 插件
 		config.plugins.delete('preload');
 		config.plugins.delete('prefetch');