This commit is contained in:
Ubuntu
2026-10-09 22:29:02 +08:00
parent 55f26d91af
commit f7902b86c8
+1 -1
View File
@@ -15,7 +15,7 @@ const fs = require('fs');
const path = require('path');
const PORT = Number(process.env.PORT) || 8080;
// 只绑回环:公网入口是 nginx(juzi.xiangsilian.com),8080 不再对公网裸奔;需局域网调试时 HOST=0.0.0.0
// 只绑回环:公网入口是 nginx(1me.xajuzi.com/state/),8080 不再对公网裸奔;需局域网调试时 HOST=0.0.0.0
const HOST = process.env.HOST || '127.0.0.1';
const ROOT = __dirname;
const FACEPP_URL = 'https://api-cn.faceplusplus.com/facepp/v1/skinanalyze_pro';