Переглянути джерело

Merge branch 'dev-online' into 'Online'

Dev online

See merge request crowd-2019/crowd-test-service-front!188
郭超 4 роки тому
батько
коміт
bd09721a1b
3 змінених файлів з 3 додано та 11 видалено
  1. 2 2
      src/config/index.js
  2. 1 1
      src/style/main.scss
  3. 0 8
      tool4deploy/conf.d/nginx.conf

+ 2 - 2
src/config/index.js

@@ -134,5 +134,5 @@ export const setConfig = (conf) => {
   CONFIG = conf;
 }
 
-export const login_url = '/page/login?redirect=http%3a%2f%2fcrowd.dev.mooctest.net%2f%23%2fhome'
-export const  register_url = '/page/register'
+export const login_url = 'http://user.cofortest.com:8081/page/login?redirect=http%3a%2f%2fcrowd.dev.mooctest.net%2f%23%2fhome'
+export const  register_url = 'http://user.cofortest.com:8081/page/register'

+ 1 - 1
src/style/main.scss

@@ -375,7 +375,7 @@ a {
 }
 
 .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
-  position: relative;
+  //position: relative;
   width: 100%;
   padding-right: 15px;
   padding-left: 15px

+ 0 - 8
tool4deploy/conf.d/nginx.conf

@@ -28,14 +28,6 @@ server {
             proxy_send_timeout 1200s;
         }
 
-        location /page {
-            proxy_pass http://crowd_user:8081;
-        }
-
-        location  ~ ^/(js|vendor|css|fonts|images)/.*$ {
-            proxy_pass http://crowd_user:8081;
-        }
-
         location /recommendationtest {
             proxy_pass http://taskRecommend:7477;
         }