From 534a0f5e3d89bcca36fd35928f73f313a592fde2 Mon Sep 17 00:00:00 2001 From: Mohamed Alaa <hi@xaymup.me> Date: Fri, 26 Jul 2024 10:09:50 +0300 Subject: [PATCH] Beta testing notice --- .gitignore | 2 +- app.js | 3 ++- index.html | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ad1245d..b43bf86 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Readme.md +README.md diff --git a/app.js b/app.js index 62b3022..28bb86f 100644 --- a/app.js +++ b/app.js @@ -1,6 +1,7 @@ // Spotify API credentials const clientId = '1b977c733d7548bc8d906aa088094e49'; -const redirectUri = 'https://matchafrappe.com'; // Update this with your actual local server address +// const redirectUri = 'https://matchafrappe.com'; // Update this with your actual local server address +const redirectUri = 'http://localhost:5500'; // Update this with your actual local server address let accessToken; let genreList = []; // Array to hold genre objects from genres.json diff --git a/index.html b/index.html index e3cadc0..52924e0 100644 --- a/index.html +++ b/index.html @@ -37,6 +37,7 @@ <h1>BPM-aware Playlist Generator</h1> <button id="generate-button" type="submit">Generate Playlist</button> </form> <div id="playlist-container"></div> + <div>Still using Spotify development api. Please email hi at matchafrappe.com with spotify email address for beta testing.</div> </div> <script data-name="BMC-Widget" data-cfasync="false" src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js" data-id="xaymup" data-description="Support me on Buy me a coffee!" data-message="" data-color="#e861a4" data-position="Right" data-x_margin="18" data-y_margin="18"></script> <script src="app.js"></script>