This commit is contained in:
2025-07-01 20:53:34 +08:00
parent d139edda12
commit 98336b9020

View File

@ -13,7 +13,7 @@ module.exports = {
},
sse: {
heartbeatInterval: 15000, // 15秒
allowedOrigins: '*', //process.env.ALLOWED_ORIGINS?.split(',') || ['http://localhost:3001']
allowedOrigins: process.env.ALLOWED_ORIGINS?.split(',') || ['http://localhost:3001']
},
rateLimit: {
windowMs: 15 * 60 * 1000, // 15分钟