更新 server/app.js
This commit is contained in:
@ -14,7 +14,7 @@ app.use(helmet());
|
|||||||
|
|
||||||
// 跨域配置
|
// 跨域配置
|
||||||
app.use(cors({
|
app.use(cors({
|
||||||
origin: process.env.FRONTEND_URL || 'http://localhost:5173',
|
origin: process.env.FRONTEND_URL || 'https://feishuexcel.kinlim.com',
|
||||||
credentials: true
|
credentials: true
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user