fix: conversationMentions hardcoded localhost:8080 → INDIEKIT_URL
Build & Deploy / build-and-deploy (push) Successful in 2m24s

Port 8080 doesn't exist on the Gitea build runner. Uses INDIEKIT_URL
(http://10.100.0.20:3000) with SITE_URL fallback, same pattern as
the other NAT-hairpin fixes.
This commit is contained in:
svemagie
2026-05-03 13:20:40 +02:00
parent e021e7f70b
commit 76f181d517
+1 -1
View File
@@ -3,7 +3,7 @@ import { cachedFetch } from "../lib/data-fetch.js";
export default async function () {
try {
const data = await cachedFetch(
"http://127.0.0.1:8080/conversations/api/mentions?per-page=10000",
`${process.env.INDIEKIT_URL || process.env.SITE_URL || "http://127.0.0.1:3000"}/conversations/api/mentions?per-page=10000`,
{ duration: "15m", type: "json" }
);
return data.children || [];