lhl 3 years ago
parent
commit
797d78f835
2 changed files with 4 additions and 2 deletions
  1. 2 1
      manifest.json
  2. 2 1
      store/index.js

+ 2 - 1
manifest.json

@@ -73,7 +73,8 @@
 		"devServer": {
 			"proxy": {
 				"^/api": {
-					"target": "http://grayscale.bet",
+					// "target": "http://grayscale.bet",
+					"target": "http://heyu.frp.liuniu946.com",
 					"changeOrigin": true,
 					"pathRewrite": {
 						"/api": "" // rewrite path

+ 2 - 1
store/index.js

@@ -6,7 +6,8 @@ Vue.use(Vuex)
 const store = new Vuex.Store({
 	state: {
 		// baseURL:"http://yrh.liuniu946.com",//'http://eb.shuibo.net',//请求地址配置 
-		baseURL:'http://grayscale.bet',//请求地址配置 
+		// baseURL:'http://heyu.frp.liuniu946.com',//请求地址配置
+		 baseURL:'http://grayscale.bet',//请求地址配置 
 		urlFile:'/index',//项目部署所在文件夹
 		userInfo: {}, //登录信息
 		loginInterceptor:false,//是否打开强制登录