fix: 修复 CORS 配置 - 将占位域名改为实际域名
- deploy/pro-deploy/.env.prod: API_CORS_ORIGINS 从 https://quiz.example.com 改为 https://www.quizck.cn,https://quizck.cn,http://localhost:3000,http://127.0.0.1:3000
This commit is contained in:
@@ -55,5 +55,5 @@ POSTGRES_PASSWORD=replace_strong_password
|
||||
|
||||
NEXT_PUBLIC_APP_BASE_PATH=/fl
|
||||
|
||||
API_CORS_ORIGINS=https://quiz.example.com
|
||||
API_CORS_ORIGINS=https://www.quizck.cn,https://quizck.cn,http://localhost:3000,http://127.0.0.1:3000
|
||||
API_CORS_ORIGIN_REGEX=
|
||||
|
||||
Reference in New Issue
Block a user