chore: 移除硬编码 IP,改为通用形式

This commit is contained in:
zwbcc
2026-03-28 20:56:48 +08:00
parent e31d030609
commit fc02c5100b
2 changed files with 3 additions and 3 deletions

2
app.js
View File

@@ -152,7 +152,7 @@ app.get('/', (req, res) => {
});
app.listen(PORT, HOST, () => {
console.log(`图片生成器运行于 http://${HOST === '0.0.0.0' ? '10.0.10.110' : HOST}:${PORT}`);
console.log(`图片生成器运行于 http://0.0.0.0:${PORT}`);
});
// ── Helpers ─────────────────────────────────────────────────────