fix: update public URL log to api.soar-enrich.com
This commit is contained in:
parent
7454b0eda5
commit
8902828a5d
|
|
@ -1384,7 +1384,7 @@ ${excerpt}
|
|||
const name = crypto.randomBytes(10).toString('hex') + '.' + ext;
|
||||
fs.writeFileSync(path.join(UPLOADS_DIR, name), buffer);
|
||||
|
||||
const url = `https://posimai.soar-enrich.com/brain/api/uploads/${name}`;
|
||||
const url = `https://api.soar-enrich.com/brain/api/uploads/${name}`;
|
||||
res.json({ ok: true, url });
|
||||
} catch (e) {
|
||||
console.error('[Upload Error]:', e);
|
||||
|
|
@ -2277,7 +2277,7 @@ loadWebauthn()
|
|||
console.log(` WebAuthn: rpID=${WEBAUTHN_RP_ID}`);
|
||||
console.log(` Users: ${Object.values(KEY_MAP).join(', ') || '(none - set API_KEYS)'}`);
|
||||
console.log(` Local: http://localhost:${PORT}/api/health`);
|
||||
console.log(` Public: https://posimai.soar-enrich.com/brain/api/health`);
|
||||
console.log(` Public: https://api.soar-enrich.com/brain/api/health`);
|
||||
});
|
||||
})
|
||||
.catch(err => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue