RuoYi
2023-03-18 230e2bb3f44d8a6ffcc6e9c28dee8f7736e25851
ruoyi-gateway/src/main/resources/bootstrap.yml
@@ -10,8 +10,6 @@
  profiles:
    # 环境配置
    active: dev
  main:
    allow-bean-definition-overriding: true
  cloud:
    nacos:
      discovery:
@@ -23,7 +21,8 @@
        # 配置文件格式
        file-extension: yml
        # 共享配置
        shared-dataids: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
        shared-configs:
          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
    sentinel:
      # 取消控制台懒加载
      eager: true
@@ -38,4 +37,4 @@
            dataId: sentinel-ruoyi-gateway
            groupId: DEFAULT_GROUP
            data-type: json
            rule-type: flow
            rule-type: gw-flow