From 7f69b4da041bb3775df74571b0320d83be401b20 Mon Sep 17 00:00:00 2001 From: Pete Cheslock Date: Fri, 29 Aug 2025 10:41:28 -0400 Subject: [PATCH] Refactor Slack redirect logic to use centralized URL variable Signed-off-by: Pete Cheslock --- static/slack/index.html | 56 ++++++++++++++++++++++++++++------------- 1 file changed, 39 insertions(+), 17 deletions(-) diff --git a/static/slack/index.html b/static/slack/index.html index 49474a4..5d0490e 100644 --- a/static/slack/index.html +++ b/static/slack/index.html @@ -4,14 +4,36 @@ - - - - - - - - + + Redirecting to llm-d Slack Community @@ -21,7 +43,6 @@ - @@ -114,7 +135,7 @@

Join the llm-d Slack Community

- + Click here if you are not redirected automatically

@@ -122,8 +143,8 @@

Join the llm-d Slack Community

If the redirect doesn't work:

Please copy and paste this URL into your browser:

-

- https://communityinviter.com/apps/llm-d/join-the-llm-d-community +

+

@@ -145,21 +166,22 @@

Join the llm-d Slack Community

clearInterval(countdown); // JavaScript redirect as final fallback setTimeout(function() { - window.location.replace("https://communityinviter.com/apps/llm-d/join-the-llm-d-community"); + window.location.replace(window.SLACK_INVITE_URL); }, 100); } }, 1000); } else { // Fallback if elements not found - immediate redirect setTimeout(function() { - window.location.replace("https://communityinviter.com/apps/llm-d/join-the-llm-d-community"); + window.location.replace(window.SLACK_INVITE_URL); }, 2000); } - +