fix: update blog.giersig.eu → svemagie.net in patches and scripts
Deploy Indiekit Server / deploy (push) Failing after 5s

This commit is contained in:
Sven
2026-05-14 19:59:49 +02:00
parent 30737fbb39
commit ff8d3a0ad4
4 changed files with 6 additions and 6 deletions
@@ -5,7 +5,7 @@
* Indiekit resolves relative endpoint paths (e.g. "/media") to absolute URLs * Indiekit resolves relative endpoint paths (e.g. "/media") to absolute URLs
* using getUrl(request), which returns `http://` because Express sees HTTP * using getUrl(request), which returns `http://` because Express sees HTTP
* connections from nginx (no trust proxy set). This results in * connections from nginx (no trust proxy set). This results in
* `application.mediaEndpoint = "http://blog.giersig.eu/media"` being passed * `application.mediaEndpoint = "http://svemagie.net/media"` being passed
* to the frontend, causing mixed-content failures in Safari ("Load failed") * to the frontend, causing mixed-content failures in Safari ("Load failed")
* when the media browser tries to fetch that URL from an HTTPS page. * when the media browser tries to fetch that URL from an HTTPS page.
* *
@@ -52,7 +52,7 @@ const patchSpecs = [
].join("\n"), ].join("\n"),
newSnippet: [ newSnippet: [
" // Auto-select syndication target based on interaction URL protocol.", " // Auto-select syndication target based on interaction URL protocol.",
" // Likes and reposts are handled natively by the AP endpoint (@svemagie@blog.giersig.eu)", " // Likes and reposts are handled natively by the AP endpoint (@svemagie@svemagie.net)",
" // — never auto-check Mastodon for those action types.", " // — never auto-check Mastodon for those action types.",
" const isLikeOrRepost = !!(likeOf || like || repostOf || repost);", " const isLikeOrRepost = !!(likeOf || like || repostOf || repost);",
" if (interactionUrl && syndicationTargets.length > 0 && !isLikeOrRepost) {", " if (interactionUrl && syndicationTargets.length > 0 && !isLikeOrRepost) {",
@@ -89,7 +89,7 @@ const patchSpecs = [
}, },
{ {
// After a successful Micropub post, dispatch native AP Like or Announce // After a successful Micropub post, dispatch native AP Like or Announce
// from the blog's own fediverse identity (@svemagie@blog.giersig.eu). // from the blog's own fediverse identity (@svemagie@svemagie.net).
oldSnippet: [ oldSnippet: [
" // Redirect back to reader with success message", " // Redirect back to reader with success message",
" return response.redirect(`${request.baseUrl}/channels`);", " return response.redirect(`${request.baseUrl}/channels`);",
@@ -7,7 +7,7 @@
* and content.html has inline links — no live page fetch needed. * and content.html has inline links — no live page fetch needed.
* *
* This fixes unreliable live fetches caused by internal DNS routing * This fixes unreliable live fetches caused by internal DNS routing
* blog.giersig.eu to the indiekit admin nginx (10.100.0.10) which * svemagie.net to the indiekit admin nginx (10.100.0.10) which
* returns a login page for post URLs. * returns a login page for post URLs.
* *
* 2. Don't permanently mark a post as webmention-sent when processing * 2. Don't permanently mark a post as webmention-sent when processing
@@ -9,12 +9,12 @@ const publicationBaseUrl = (() => {
config.publication?.me || config.publication?.me ||
process.env.PUBLICATION_URL || process.env.PUBLICATION_URL ||
process.env.SITE_URL || process.env.SITE_URL ||
"https://blog.giersig.eu"; "https://svemagie.net";
try { try {
return new URL(candidate).href; return new URL(candidate).href;
} catch { } catch {
return "https://blog.giersig.eu/"; return "https://svemagie.net/";
} }
})(); })();