From 4f6d2c5e55fb1e9fb5b71023f85b87772339ccb3 Mon Sep 17 00:00:00 2001 From: Bryce Thorup Date: Thu, 23 Jan 2025 18:14:45 -0700 Subject: [PATCH] fix --- action.mjs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/action.mjs b/action.mjs index 305addc..b634fdd 100644 --- a/action.mjs +++ b/action.mjs @@ -17,21 +17,21 @@ class CreateListmonkCampaign { let imageUrl = postData.slice(postData.indexOf("](/") + 3); imageUrl = imageUrl.slice(0, imageUrl.indexOf(")")); - imageUrl = `https://blog.thorup.us/${imageUrl}`; + imageUrl = `https://blog.xn--trupgrd-exae.com/${imageUrl}`; let contentBody = `

${title}

- + - View Post + View Post `; let createRequestBody = { name: title, subject: "New Post", lists: [process.env.INPUT_IS_PRODUCTION == "true" ? 3 : 4], - from_email: "Thorup Family Mailer ", + from_email: "T Mailer ", content_type: "html", type: "regular", template_id: 1, @@ -50,7 +50,7 @@ class CreateListmonkCampaign { }; let createResponse = await fetch( - "https://mailer.thorup.us/api/campaigns", + "https://mailer.tarupgard.com/api/campaigns", { method: "POST", headers: requestHeaders,