Browse Source

修改包名为ozs

hexiao 1 year ago
parent
commit
58720b12e5
1 changed files with 4 additions and 4 deletions
  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/
 
-