From f5badba2bb9f40695ab5d1e362a3f63298989a4d Mon Sep 17 00:00:00 2001
From: Sxile <3440626@qq.com>
Date: Fri, 19 Jun 2020 18:13:54 +0800
Subject: [PATCH] 添加{}使代码更容易理解
---
ruoyi/src/main/resources/application.yml | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/ruoyi/src/main/resources/application.yml b/ruoyi/src/main/resources/application.yml
index 34b1f43..4e17bf1 100644
--- a/ruoyi/src/main/resources/application.yml
+++ b/ruoyi/src/main/resources/application.yml
@@ -3,7 +3,7 @@
# 名称
name: RuoYi
# 版本
- version: 2.2.0
+ version: 2.3.0
# 版权年份
copyrightYear: 2019
# 实例演示开关
@@ -11,7 +11,7 @@
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
profile: D:/ruoyi/uploadPath
# 获取ip地址开关
- addressEnabled: true
+ addressEnabled: false
# 开发环境配置
server:
@@ -102,7 +102,10 @@
# Swagger配置
swagger:
- enable: true
+ # 是否开启swagger
+ enabled: true
+ # 请求前缀
+ pathMapping: /dev-api
# 防止XSS攻击
xss:
--
Gitblit v1.9.2