mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-11 06:57:12 +08:00
build: 引入 ContiNew Starter,并适配跨域自动配置
由于 ContiNew Starter 尚处于开发中,所以使用快照版本
This commit is contained in:
@@ -231,11 +231,12 @@ local-storage:
|
||||
|
||||
--- ### 跨域配置
|
||||
cors:
|
||||
enabled: true
|
||||
# 配置允许跨域的域名
|
||||
allowedOrigins: '*'
|
||||
allowed-origins: '*'
|
||||
# 配置允许跨域的请求方式
|
||||
allowedMethods: '*'
|
||||
allowed-methods: '*'
|
||||
# 配置允许跨域的请求头
|
||||
allowedHeaders: '*'
|
||||
allowed-headers: '*'
|
||||
# 配置允许跨域的响应头
|
||||
exposedHeaders: '*'
|
||||
exposed-headers: '*'
|
Reference in New Issue
Block a user