@@ -15,11 +15,13 @@ hsweb:
hsweb:
cors:
enable: true
- allowed-headers: "*"
+ configs:
- allowed-methods: "*"
+ - /**:
- allowed-origins: "*"
+ allowed-headers: "*"
- allow-credentials: true
+ allowed-methods: ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"]
- max-age: 14400
+ allowed-origins: ["http://xxx.example.com"]
+ allow-credentials: true
+ maxAge: 1800
```
# json序列化配置