chore: remove emoji from server.js comments and startup log
This commit is contained in:
parent
a60dda9528
commit
9c892e723a
|
|
@ -577,7 +577,7 @@ function buildRouter() {
|
||||||
let fullText = content || null;
|
let fullText = content || null;
|
||||||
const source = clientSource || extractSource(url);
|
const source = clientSource || extractSource(url);
|
||||||
|
|
||||||
// 🔥 重要: contentが空の場合、Jina Reader APIで本文を自動取得
|
// 重要: contentが空の場合、Jina Reader APIで本文を自動取得
|
||||||
if (!fullText || fullText.trim().length === 0) {
|
if (!fullText || fullText.trim().length === 0) {
|
||||||
console.log(`[Brain API] No content provided for ${url}, attempting Jina Reader fetch...`);
|
console.log(`[Brain API] No content provided for ${url}, attempting Jina Reader fetch...`);
|
||||||
|
|
||||||
|
|
@ -1701,7 +1701,7 @@ const PORT = parseInt(process.env.PORT || '8090');
|
||||||
initDB()
|
initDB()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
app.listen(PORT, '0.0.0.0', () => {
|
app.listen(PORT, '0.0.0.0', () => {
|
||||||
console.log(`\n🧠 Posimai Brain API`);
|
console.log(`\nPosimai Brain API`);
|
||||||
console.log(` Port: ${PORT}`);
|
console.log(` Port: ${PORT}`);
|
||||||
console.log(` Gemini: ${genAI ? 'enabled' : 'disabled (no key)'}`);
|
console.log(` Gemini: ${genAI ? 'enabled' : 'disabled (no key)'}`);
|
||||||
console.log(` Users: ${Object.values(KEY_MAP).join(', ') || '(none - set API_KEYS)'}`);
|
console.log(` Users: ${Object.values(KEY_MAP).join(', ') || '(none - set API_KEYS)'}`);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue