asd26269546 преди 2 години
родител
ревизия
c9a68decb7
променени са 3 файла, в които са добавени 6 реда и са изтрити 5 реда
  1. 2 1
      public/index.html
  2. 1 1
      src/views/main.vue
  3. 3 3
      vue.config.js

+ 2 - 1
public/index.html

@@ -2,8 +2,9 @@
 <html lang="en">
   <head>
     <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <!-- <meta http-equiv="X-UA-Compatible" content="IE=edge"> -->
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
+    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
     <link rel="icon" href="<%= BASE_URL %>bts.ico">
     <!-- <title><%= htmlWebpackPlugin.options.title %></title> -->
     <title>ByteSailing 管理系统</title>

+ 1 - 1
src/views/main.vue

@@ -85,7 +85,7 @@ registerMicroApps([
 	},
 	{
 		name: 'fjhxCloudVue',
-		entry: (process.env.NODE_ENV === "development") ?  'http://localhost:1777' : 'http://36.134.91.96:10002',
+		entry: (process.env.NODE_ENV === "development") ?  'http://localhost:1777' : 'http://wdly.bytesail.cn:10002',
 		container: '#appContainer',
 		activeRule: '/main/fjhxCloudVue',
 		props:{

+ 3 - 3
vue.config.js

@@ -1,6 +1,6 @@
 const path = require('path');
 //测试
-const url = 'http://119.3.240.140:8866'
+const url = 'https://cfm.bytesail.cn'
 
 const img = 'http://os.winfaster.cn'
 
@@ -16,7 +16,8 @@ module.exports = {
         proxy: {
             '/api': {
 				//本地服务接口地址
-				target: 'http://36.134.91.96:10001/api',
+                //target: 'http://36.134.91.96:10001/api',
+				target: 'https://cfm.bytesail.cn/api',
 				//远程演示服务地址,可用于直接启动项目
 				//target: 'https://saber.bladex.vip/api',
 				ws: true,
@@ -28,7 +29,6 @@ module.exports = {
                 target: url, // 代理接口
                 changeOrigin: true, //是否跨域
                 ws: true, // proxy websockets
-
             },
             '/saas-business-tradeerp': { //代理api
                 target: url, // 代理接口