zpj 2 سال پیش
والد
کامیت
bca07070a1
3فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 2 2
      .env.dev.js
  2. 2 2
      .env.prod.js
  3. 1 1
      manifest.json

+ 2 - 2
.env.dev.js

@@ -1,6 +1,6 @@
 const config = {
-	baseUrl: 'http://test-userapi.sjzkeji.com',
-	socketUrl: 'http://test-userapi.sjzkeji.com',
+	baseUrl: 'https://test-userapi.sjzkeji.com',
+	socketUrl: 'https://test-userapi.sjzkeji.com',
     appName:'开发环境'
 }
 module.exports = config;

+ 2 - 2
.env.prod.js

@@ -1,6 +1,6 @@
 const config = {
-    baseUrl: 'http://test-userapi.sjzkeji.com',
-    socketUrl: 'http://test-userapi.sjzkeji.com',
+    baseUrl: 'https://test-userapi.sjzkeji.com',
+    socketUrl: 'https://test-userapi.sjzkeji.com',
     appName:'正式环境'
 }
 module.exports = config;

+ 1 - 1
manifest.json

@@ -75,7 +75,7 @@
             "https" : false,
             "proxy" : {
                 "/api" : {
-                    "target" : "http://test-userapi.sjzkeji.com",
+                    "target" : "https://test-userapi.sjzkeji.com",
                     "changeOrigin" : true,
                     "secure" : false,
                     "pathRewrite" : {