summaryrefslogtreecommitdiff
path: root/dist/spotify/button.html
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2020-02-11 16:56:32 +0000
committerDennis Kobert <dennis@kobert.dev>2020-02-11 16:56:32 +0000
commitc9d8f5415453e5caf22a3af87299bf26560d22da (patch)
tree967e6703552eb34edc3d5fd54bc8838612870485 /dist/spotify/button.html
parent809976ba96559fbd4eca31de9ff8135ee636549b (diff)
Fixed typo
Diffstat (limited to 'dist/spotify/button.html')
-rw-r--r--dist/spotify/button.html16
1 files changed, 0 insertions, 16 deletions
diff --git a/dist/spotify/button.html b/dist/spotify/button.html
deleted file mode 100644
index da99833..0000000
--- a/dist/spotify/button.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body>
- <h1>Spotify Intersect</h1>
- <button onclick="click_button()">Connect to Spotify</button>
- <script>
- function click_button() {
- console.log("test");
- //http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript
- let token = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
- sessionStorage.setItem('token', token);
- window.location = "https://kobert.dev/spotify-api/token/" + token;
- }
- </script>
-</body>
-</html>