This commit is contained in:
@@ -90,6 +90,14 @@ middleware:
|
||||
max: 100
|
||||
expiration: "1m"
|
||||
storage: "memory"
|
||||
cors:
|
||||
enabled: true
|
||||
allow_origins: "*"
|
||||
allow_methods: "GET,POST,PUT,PATCH,DELETE,OPTIONS"
|
||||
allow_headers: "Origin,Content-Type,Accept,Authorization,X-Requested-With,X-Request-ID"
|
||||
expose_headers: "Content-Length,X-Request-ID"
|
||||
allow_credentials: false
|
||||
max_age: 86400
|
||||
|
||||
# 客户端配置
|
||||
client:
|
||||
|
||||
Reference in New Issue
Block a user