settings里面的cors配置去掉斜杠
This commit is contained in:
@@ -193,8 +193,8 @@ CORS_ALLOWED_ORIGINS = [
|
|||||||
"http://localhost:8080", # 假设前端开发服务器地址
|
"http://localhost:8080", # 假设前端开发服务器地址
|
||||||
"http://127.0.0.1:8080",
|
"http://127.0.0.1:8080",
|
||||||
"http://121.4.54.129",
|
"http://121.4.54.129",
|
||||||
"https://wenhe.nmslb.com:9187/",
|
"https://wenhe.nmslb.com:9187",
|
||||||
"https://wenhe.nmslb.com:4321/",
|
"https://wenhe.nmslb.com:4321",
|
||||||
"http://localhost:5173",
|
"http://localhost:5173",
|
||||||
"http://localhost:5174"
|
"http://localhost:5174"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user