Browse Source

修改配置

denny 2 năm trước cách đây
mục cha
commit
1f667c6ed9
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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');