gaodm преди 6 години
родител
ревизия
2fe63e36cc
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 2 2
      config-server/src/main/resources/shared/application-dev.yml
  2. 2 2
      config-server/src/main/resources/shared/application-local.yml

+ 2 - 2
config-server/src/main/resources/shared/application-dev.yml

@@ -37,13 +37,13 @@ management:
   endpoints:
     web:
       exposure:
-        include: "*"
+        include: refresh,health,info
       cors:
         allowed-origins: "*"
         allowed-methods: "*"
   endpoint:
       health:
-        show-details: ALWAYS
+        show-details: always
 feign:
   hystrix:
     enabled: true

+ 2 - 2
config-server/src/main/resources/shared/application-local.yml

@@ -37,13 +37,13 @@ management:
   endpoints:
     web:
       exposure:
-        include: "*"
+        include: refresh,health,info
       cors:
         allowed-origins: "*"
         allowed-methods: "*"
   endpoint:
       health:
-        show-details: ALWAYS
+        show-details: always
 feign:
   hystrix:
     enabled: true