浏览代码

'移除跨域处理'

tuonina 6 年之前
父节点
当前提交
11996c8434
共有 1 个文件被更改,包括 3 次插入3 次删除
  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