build: 引入 ContiNew Starter,并适配跨域自动配置

由于 ContiNew Starter 尚处于开发中,所以使用快照版本
This commit is contained in:
2023-11-20 20:00:11 +08:00
parent b47695603a
commit 2c4f5116c9
6 changed files with 32 additions and 149 deletions

View File

@@ -231,11 +231,12 @@ local-storage:
--- ### 跨域配置
cors:
enabled: true
# 配置允许跨域的域名
allowedOrigins: '*'
allowed-origins: '*'
# 配置允许跨域的请求方式
allowedMethods: '*'
allowed-methods: '*'
# 配置允许跨域的请求头
allowedHeaders: '*'
allowed-headers: '*'
# 配置允许跨域的响应头
exposedHeaders: '*'
exposed-headers: '*'