Fixed the href attr in index.html 61/57161/1
authorGuangrongFu <fu.guangrong@zte.com.cn>
Mon, 23 Jul 2018 11:59:22 +0000 (19:59 +0800)
committerGuangrongFu <fu.guangrong@zte.com.cn>
Mon, 23 Jul 2018 11:59:22 +0000 (19:59 +0800)
Change-Id: I27035ff2c312c646d6717e08af24262fbe875edc
Issue-ID: HOLMES-111
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
rulemgt-frontend/package.json
rulemgt-frontend/src/index.html
rulemgt-standalone/src/main/assembly/Dockerfile

index 307bbfa..554620d 100644 (file)
@@ -6,7 +6,7 @@
     "ng": "ng",
     "start": "ng serve",
     "build": "ng build --dev",
-    "prod": "ng build --prod --base-href /holmes",
+    "prod": "ng build --prod --base-href /holmes/",
     "test": "ng test",
     "lint": "ng lint",
     "e2e": "ng e2e"
index 269bee8..c8da64f 100644 (file)
@@ -17,7 +17,7 @@
 <html>
 
 <head>
-    <base href="/holmes/">
+    <base href="/">
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">
 
index d069616..4714770 100644 (file)
@@ -2,7 +2,7 @@ FROM ubuntu:16.04
 
 MAINTAINER "Guangrong Fu" <fu.guangrong@zte.com.cn>
 
-EXPOSE 9101 9104
+EXPOSE 9101 9104 9201
 
 #install openjdk-1.8
 #RUN sed -i 's#http://archive.ubuntu.com#http://mirrors.163.com#g' /etc/apt/sources.list