feat: 添加 WebUI 模块及相关 API 路由和 Token 管理功能
This commit is contained in:
@@ -18,8 +18,8 @@ class Server:
|
||||
|
||||
# 配置 CORS
|
||||
origins = [
|
||||
"http://localhost:3000", # 允许的前端源
|
||||
"http://127.0.0.1:3000",
|
||||
"http://localhost:7999", # 允许的前端源
|
||||
"http://127.0.0.1:7999",
|
||||
# 在生产环境中,您应该添加实际的前端域名
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user