fix gitea fetching & cosmetics
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m40s

This commit is contained in:
svemagie
2026-03-31 21:33:26 +02:00
parent e80b99ce49
commit a9368757de
7 changed files with 8 additions and 5 deletions

View File

@@ -5,7 +5,7 @@
import EleventyFetch from "@11ty/eleventy-fetch";
const GITEA_URL = process.env.GITEA_URL || "https://gitea.giersig.eu";
const GITEA_URL = process.env.GITEA_INTERNAL_URL || process.env.GITEA_URL || "https://gitea.giersig.eu";
const GITEA_ORG = process.env.GITEA_ORG || "giersig.eu";
const GITEA_REPOS = (process.env.GITEA_REPOS || "indiekit-blog,indiekit-server").split(",").filter(Boolean);

View File

@@ -5,7 +5,7 @@
import { cachedFetch } from "../lib/data-fetch.js";
const GITEA_URL = process.env.GITEA_URL || "https://gitea.giersig.eu";
const GITEA_URL = process.env.GITEA_INTERNAL_URL || process.env.GITEA_URL || "https://gitea.giersig.eu";
const GITEA_ORG = process.env.GITEA_ORG || "giersig.eu";
export default async function () {