瀏覽代碼

修改包名为ozs

hexiao 1 年之前
父節點
當前提交
58720b12e5
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      dc-server/src/main/resources/application.yml

+ 4 - 4
dc-server/src/main/resources/application.yml

@@ -1,16 +1,17 @@
 spring:
     application:
         name: dc-server
-    jmx: 
+    jmx:
         enabled: false
 server:
     port: 9999
     maxHttpHeaderSize: 102400
-    
+
 eureka:
     instance:
+        prefer-ip-address: true
         hostname: localhost
-    server: 
+    server:
         enableSelfPreservation: false     #关闭自我保护
         evictionIntervalTimerInMs: 5000   #清理间隔(单位毫秒,默认是60*1000)
     client:
@@ -19,4 +20,3 @@ eureka:
         serviceUrl:
             defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
 
-