feat: 优化下注结果展示与大厅表单交互,适配新端口配置
This commit is contained in:
@@ -9,8 +9,8 @@ const ALLOWED_PARENT_ORIGINS: string[] = [
|
||||
process.env.NEXT_PUBLIC_MAIN_SITE_URL,
|
||||
process.env.NEXT_PUBLIC_PARENT_ORIGIN,
|
||||
// 开发环境
|
||||
"http://localhost:3001",
|
||||
"http://127.0.0.1:3001",
|
||||
"http://localhost:3801",
|
||||
"http://127.0.0.1:3801",
|
||||
// 生产环境应从环境变量读取
|
||||
].filter((o): o is string => Boolean(o));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user