Add block knife4j config

This commit is contained in:
2023-11-16 17:49:03 +08:00
parent d0897e57e0
commit 4e78c89f5b
2 changed files with 7 additions and 1 deletions

View File

@@ -56,3 +56,6 @@ logging:
rollingpolicy: rollingpolicy:
# max-file-size: 10MB # Maximum log file size # max-file-size: 10MB # Maximum log file size
# max-history: 7 # Maximum number of archive log files to keep # max-history: 7 # Maximum number of archive log files to keep
knife4j:
production: true # Production environment mode will block doc

View File

@@ -30,3 +30,6 @@ logging:
root: info root: info
file: file:
name: data/log/fat-api.log name: data/log/fat-api.log
knife4j:
enable: true