瀏覽代碼

添加context-path

luhg 8 年之前
父節點
當前提交
f40dbf7be2
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/resources/application.yml

+ 2 - 1
src/main/resources/application.yml

@@ -28,7 +28,7 @@ spring:
     message:
         encoding: UTF-8
     jpa:
-      show-sql: true
+      show-sql: false
       hibernate:
         ddl-auto: update
       database: oracle
@@ -37,6 +37,7 @@ server:
     tomcat:
         uri_encoding: UTF-8
     port: 8008
+    context-path: /EIS
 action:
     api_action: /EIS/api
     public_actions: /EIS/logout,/EIS/hello1