From 0bed3f7b27b8b26d8f0493c69497dfb6d859e07e Mon Sep 17 00:00:00 2001 From: Omar Najjar Date: Wed, 2 Apr 2025 21:27:40 +1100 Subject: [PATCH] x --- index.html | 2 +- wrangler.toml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 99559ea..735322c 100644 --- a/index.html +++ b/index.html @@ -266,7 +266,7 @@ function smartCopyShare(proposalId, proposalText) { } } // Configuration - const API_BASE_URL = 'https://radical.omar-c29.workers.dev/api'; // Replace with your actual worker URL + const API_BASE_URL = 'https://theradicalparty.com/api'; // Replace with your actual worker URL // Character limit const CHAR_LIMIT = 280; diff --git a/wrangler.toml b/wrangler.toml index f6bd668..a4be079 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -17,4 +17,15 @@ bucket_name = "memes" [vars] ENVIRONMENT = "production" +# wrangler.toml (wrangler v3.88.0^) +[observability.logs] +enabled = true + + +# Route API requests to your worker +[[routes]] +pattern = "theradicalparty.com/api/*" +zone_name = "theradicalparty.com" + +