From fc02c5100bb73a3c571fd85d30e7b650204b135f Mon Sep 17 00:00:00 2001 From: zwbcc Date: Sat, 28 Mar 2026 20:56:48 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E7=A1=AC=E7=BC=96?= =?UTF-8?q?=E7=A0=81=20IP=EF=BC=8C=E6=94=B9=E4=B8=BA=E9=80=9A=E7=94=A8?= =?UTF-8?q?=E5=BD=A2=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- app.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 560c1c2..67527bb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 图片生成器 -MiniMax 文生图工具,访问 http://10.0.10.110:8195 +MiniMax 文生图工具,访问 `http://域名或IP:8195` --- @@ -32,7 +32,7 @@ systemctl --user daemon-reload systemctl --user enable --now image-generator.service ``` -**访问:** http://目标机器:8195 +**访问:** `http://域名或IP:8195` **配置 API Key:** 页面右上角 ⚙️ → 填入 MiniMax Key → 保存 diff --git a/app.js b/app.js index 6ca4d98..b2b49d0 100644 --- a/app.js +++ b/app.js @@ -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 ─────────────────────────────────────────────────────