chore: 加速npm包下载安装

This commit is contained in:
2025-11-12 13:45:52 +08:00
parent 1e221550cf
commit c68c41638f
2 changed files with 161 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ app.get(/^((?!\/api).)*$/, (req, res) => {
});
// 启动服务器并监听错误
const server = app.listen(PORT, () => {
const server = app.listen(PORT, '0.0.0.0', () => {
console.log(`服务器运行在 http://localhost:${PORT}`);
console.log('服务器已成功启动,可以访问 http://localhost:3000');
console.log('API端点: GET/POST /api/config');