Skip to content

Commit

Permalink
feat(resources): 添加runner配置
Browse files Browse the repository at this point in the history
1. 添加runner配置
  • Loading branch information
XCLHove committed Jun 16, 2024
1 parent 2f431a5 commit d6a01b7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,20 @@ spring.thymeleaf.check-template-location: false
spring.jackson.default-property-inclusion: NON_EMPTY

xnote:
keywords:
convert-enable: false #关键字转化
ip:
max-frequency-per-minute: 120 #单个ip每分钟最大请求次数
image:
allow-type: ^image/(png|jpg|jpeg|svg|ico|gif|bmp)+$ #允许上传的图片类型
allow-size: 10485760 #10MB
page-request:
max-page-size: 100 #分页请求每页最大数量
runner:
enable-keywords-convert-runner: false
enable-minio-status-check-runner: true
enable-redis-status-check-runner: true
enable-image-url-replace-runner: false
debug:
enable: true
---
#应用服务WEB访问端口
server.port: 8080
Expand Down Expand Up @@ -90,6 +95,4 @@ minio:
endpoint: http://localhost:9090 #Minio服务所在地址
bucketName: xnote #存储桶名称
accessKey: admin #访问的key
secretKey: 12345678 #访问的秘钥

#xnote.debug.enable: true
secretKey: 12345678 #访问的秘钥

0 comments on commit d6a01b7

Please sign in to comment.