From 60f48549cd24211eae32b89ca6be308ad6582536 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 5 Oct 2024 08:03:21 -0700 Subject: [PATCH] chore: cleanup --- src/assets/scripts/index.js | 1 + workers/analytics/wrangler.template.toml | 2 +- workers/scrobble/wrangler.template.toml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/assets/scripts/index.js b/src/assets/scripts/index.js index 99c6db46..1ace9ec6 100644 --- a/src/assets/scripts/index.js +++ b/src/assets/scripts/index.js @@ -67,6 +67,7 @@ window.addEventListener('load', () => { checkModals() })() + // text toggle for media pages ;(() => { const button = document.querySelector('[data-toggle-button]') const content = document.querySelector('[data-toggle-content]') diff --git a/workers/analytics/wrangler.template.toml b/workers/analytics/wrangler.template.toml index fa3bfaec..5b395041 100644 --- a/workers/analytics/wrangler.template.toml +++ b/workers/analytics/wrangler.template.toml @@ -1,5 +1,5 @@ name = "analytics-worker" -main = "./index.js" # Add this line to specify the entry point +main = "./index.js" compatibility_date = "2023-01-01" account_id = "${CF_ACCOUNT_ID}" diff --git a/workers/scrobble/wrangler.template.toml b/workers/scrobble/wrangler.template.toml index 9551326c..2b5f490d 100644 --- a/workers/scrobble/wrangler.template.toml +++ b/workers/scrobble/wrangler.template.toml @@ -1,5 +1,5 @@ name = "scrobble-worker" -main = "./index.js" # Add this line to specify the entry point +main = "./index.js" compatibility_date = "2023-01-01" account_id = "${CF_ACCOUNT_ID}"