whywhyo
2023-10-07 bfe6e8b654b3a90b0d95c4aebbef872418ebeaa6
ruoyi-admin/src/main/resources/application.yml
@@ -49,6 +49,10 @@
# Spring配置
spring:
  #es配置
  elasticsearch:
    host: 47.93.189.255
    port: 8087
  # 资源信息
  messages:
    # 国际化资源文件路径
@@ -59,9 +63,9 @@
  servlet:
     multipart:
       # 单个文件大小
       max-file-size:  10MB
       max-file-size:  1000MB
       # 设置总上传的文件大小
       max-request-size:  20MB
       max-request-size:  200000MB
  # 服务模块
  devtools:
    restart:
@@ -70,8 +74,8 @@
  # redis 配置
  redis:
    # 地址
#    host: localhost
    host: 192.168.88.68
    host: localhost
#    host: 192.168.88.68
    # 端口,默认为6379
    port: 6379
    # 数据库索引
@@ -124,7 +128,7 @@
  pathMapping: /dev-api
# 防止XSS攻击
xss:
xss:
  # 过滤开关
  enabled: true
  # 排除链接(多个用逗号分隔)