From 505b780211fa92b81db284deae06cbfcc11ca5bd Mon Sep 17 00:00:00 2001 From: MrAlders0n <55921894+MrAlders0n@users.noreply.github.com> Date: Wed, 17 Dec 2025 20:46:19 +0000 Subject: [PATCH] Revert "Add config.js to repository to fix missing API key configuration" --- .gitignore | 3 +-- content/config.js | 5 ----- content/config.template.js | 4 ++++ 3 files changed, 5 insertions(+), 7 deletions(-) delete mode 100644 content/config.js create mode 100644 content/config.template.js diff --git a/.gitignore b/.gitignore index 2731e53..cdb4317 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ # MeshMapper API configuration (contains sensitive API key) -# Note: config.js is now tracked with placeholder value for local development -# During deployment, GitHub Actions regenerates it with the actual API key +content/config.js # Node modules (if added in the future) node_modules/ diff --git a/content/config.js b/content/config.js deleted file mode 100644 index 4d46fcf..0000000 --- a/content/config.js +++ /dev/null @@ -1,5 +0,0 @@ -// MeshMapper API Configuration -// This file contains the API key for posting to MeshMapper API -// During GitHub Pages deployment, this file is automatically regenerated with the actual API key from GitHub Secrets -// For local development, the placeholder value will cause the API post to be skipped -window.MESHMAPPER_API_KEY = "YOUR_API_KEY_HERE"; diff --git a/content/config.template.js b/content/config.template.js new file mode 100644 index 0000000..23a1fed --- /dev/null +++ b/content/config.template.js @@ -0,0 +1,4 @@ +// MeshMapper API Configuration +// This file contains the API key for posting to MeshMapper API +// Set MESHMAPPER_API_KEY to your actual API key +window.MESHMAPPER_API_KEY = "YOUR_API_KEY_HERE";