Browse Source

testing 配置更改

zhuth 7 years ago
parent
commit
9c75bae34a
2 changed files with 9 additions and 6 deletions
  1. 0 6
      frontend/saas-web/Dockerfile.dev
  2. 9 0
      frontend/saas-web/app.json

+ 0 - 6
frontend/saas-web/Dockerfile.dev

@@ -1,6 +0,0 @@
-FROM hub.c.163.com/library/nginx
-MAINTAINER USOFTCHINA <yingp@usoftchina.com>
-RUN rm /etc/nginx/conf.d/default.conf
-ADD runtime/nginx/default.conf /etc/nginx/conf.d/
-COPY build/development/saas/ /usr/share/nginx/html/
-COPY set-token.html /usr/share/nginx/html/

+ 9 - 0
frontend/saas-web/app.json

@@ -322,6 +322,7 @@
             "type": "yui"
         },
         "server": {
+            /** 暂时更改
             "accountCenter": "https://saas-test.usoftchina.com:5443",
             "accountEnterprise": "https://saas-test.usoftchina.com:5443/#/enterprise",
             "basePath": {
@@ -329,6 +330,14 @@
                 "http": "http://192.168.0.181:8575"
             },
             "urlPattern": "^\/api\/"
+            **/
+            "accountCenter":"http://192.168.0.181:8000",
+            "accountEnterprise":"http://192.168.0.181:8000/#/enterprise",
+            "basePath": {
+                "https": "https://saas-api-dev.usoftchina.com:5443",
+                "http": "http://192.168.0.181:8560"
+            },
+            "urlPattern": "^\/api\/"
         }
     },