RuoYi
2024-12-05 92c6d218554b028a8085514eeb18f1dfcd41af58
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