From 76f181d517ca054c0faed29f3e05eb9f67015bff Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Sun, 3 May 2026 13:20:40 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20conversationMentions=20hardcoded=20local?= =?UTF-8?q?host:8080=20=E2=86=92=20INDIEKIT=5FURL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- _data/conversationMentions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/conversationMentions.js b/_data/conversationMentions.js index 4af7bc9..e23c6a8 100644 --- a/_data/conversationMentions.js +++ b/_data/conversationMentions.js @@ -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 || [];