使用框架 重构
This commit is contained in:
@@ -1,6 +1,32 @@
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
arrokoth:
|
||||
authorization:
|
||||
server:
|
||||
consent-page: /oauth2/consent
|
||||
authorization-endpoint: /oauth2/authorize
|
||||
issuer: http://127.0.0.1
|
||||
security:
|
||||
web:
|
||||
swagger-ui: false
|
||||
login-page: /login
|
||||
logout-success-url: /login?logout
|
||||
permit-urls:
|
||||
- /home/login
|
||||
- /login/oauth2/**
|
||||
- /oauth2/token
|
||||
|
||||
# RestApi增强配置
|
||||
graceful-rest-response:
|
||||
enabled: true
|
||||
banner: true
|
||||
print-exception-in-global-advice: true
|
||||
origin-exception-using-detail-message: false
|
||||
exclude-urls:
|
||||
- "/swagger-resources"
|
||||
- "/v3/api-docs/*"
|
||||
- "/v2/api-docs"
|
||||
|
||||
|
||||
spring:
|
||||
@@ -27,19 +53,8 @@ spring:
|
||||
max-wait: 2000ms # 获取连接最大等待时间
|
||||
|
||||
|
||||
arrokoth:
|
||||
authorization:
|
||||
server:
|
||||
consent-page: /oauth2/consent
|
||||
authorization-endpoint: /oauth2/authorize
|
||||
issuer: https://www.arrokoth-info.com
|
||||
security:
|
||||
web:
|
||||
swagger-ui: false
|
||||
login-page: /login
|
||||
logout-success-url: /login?logout
|
||||
permit-urls:
|
||||
- /home/login
|
||||
|
||||
|
||||
|
||||
|
||||
logging:
|
||||
|
||||
Reference in New Issue
Block a user