支持不同域的前后端分离部署

This commit is contained in:
648540858
2023-03-15 19:05:56 +08:00
parent 95688e400b
commit 5fab97cf7e
23 changed files with 226 additions and 155 deletions

View File

@@ -201,6 +201,10 @@ user-settings:
sip-log: true
# 自动数据库升级,保证表结构完整
sync-db: true
# 跨域配置,配置你访问前端页面的地址即可, 可以配置多个
allowed-origins:
- http://localhost:8008
- http://192.168.1.3:8008
# 关闭在线文档(生产环境建议关闭)
springdoc: