Ver código fonte

'移除跨域处理'

tuonina 6 anos atrás
pai
commit
11996c8434
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      zen-web/src/main/resources/application.yml

+ 3 - 3
zen-web/src/main/resources/application.yml

@@ -34,7 +34,7 @@ eureka:
     register-with-eureka: true
     fetch-registry: true
     service-url:
-      registry1: http://192.168.1.96:11001/eureka/
+      registry1: http://192.168.1.206:11001/eureka/
 
 ---
 spring:
@@ -48,8 +48,8 @@ eureka:
   client:
     service-url:
       defaultZone: http://192.168.1.206:11001/eureka/
-    register-with-eureka: false
-    fetch-registry: false
+    register-with-eureka: true
+    fetch-registry: true
 ---
 spring:
   profiles: prod