modify: worker重启失败 bug 修复
This commit is contained in:
+7
-2
@@ -53,8 +53,13 @@ allow_credentials = true
|
||||
allow_headers = ["*"]
|
||||
allow_methods = ["*"]
|
||||
# 注意:allow_credentials=true 时 allow_origins 不能为 ["*"](starlette 会丢弃该 header),
|
||||
# 需显式列出来源;本地前端 dev 为 http://localhost:5173。
|
||||
allow_origins = ["http://localhost:5173", "http://127.0.0.1:5173"]
|
||||
# 需显式列出来源;本地前端 dev 端口会变化(5173/5174/...)。
|
||||
allow_origins = [
|
||||
"http://localhost:5173",
|
||||
"http://127.0.0.1:5173",
|
||||
"http://localhost:5174",
|
||||
"http://127.0.0.1:5174",
|
||||
]
|
||||
|
||||
[development.mqtt]
|
||||
enabled = true
|
||||
|
||||
Reference in New Issue
Block a user