fix: update blog.giersig.eu → svemagie.net in patches and scripts
Deploy Indiekit Server / deploy (push) Failing after 5s
Deploy Indiekit Server / deploy (push) Failing after 5s
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* Indiekit resolves relative endpoint paths (e.g. "/media") to absolute URLs
|
||||
* using getUrl(request), which returns `http://` because Express sees HTTP
|
||||
* 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")
|
||||
* when the media browser tries to fetch that URL from an HTTPS page.
|
||||
*
|
||||
|
||||
@@ -52,7 +52,7 @@ const patchSpecs = [
|
||||
].join("\n"),
|
||||
newSnippet: [
|
||||
" // 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.",
|
||||
" const isLikeOrRepost = !!(likeOf || like || repostOf || repost);",
|
||||
" if (interactionUrl && syndicationTargets.length > 0 && !isLikeOrRepost) {",
|
||||
@@ -89,7 +89,7 @@ const patchSpecs = [
|
||||
},
|
||||
{
|
||||
// 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: [
|
||||
" // Redirect back to reader with success message",
|
||||
" return response.redirect(`${request.baseUrl}/channels`);",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* and content.html has inline links — no live page fetch needed.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 2. Don't permanently mark a post as webmention-sent when processing
|
||||
|
||||
@@ -9,12 +9,12 @@ const publicationBaseUrl = (() => {
|
||||
config.publication?.me ||
|
||||
process.env.PUBLICATION_URL ||
|
||||
process.env.SITE_URL ||
|
||||
"https://blog.giersig.eu";
|
||||
"https://svemagie.net";
|
||||
|
||||
try {
|
||||
return new URL(candidate).href;
|
||||
} catch {
|
||||
return "https://blog.giersig.eu/";
|
||||
return "https://svemagie.net/";
|
||||
}
|
||||
})();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user