diff options
author | Dennis Kobert <dennis@kobert.dev> | 2020-03-13 11:38:14 +0100 |
---|---|---|
committer | Dennis Kobert <dennis@kobert.dev> | 2020-03-13 11:38:14 +0100 |
commit | 1d68281dca016c63ef5cb96a2dceed8f3dbdc950 (patch) | |
tree | 612c08a653b111a073ff1df49bb97fbfe32ce106 /dist/button.html | |
parent | ee4519e95550d80d27860d56e939ff8a894f98e6 (diff) |
Diffstat (limited to 'dist/button.html')
-rw-r--r-- | dist/button.html | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/dist/button.html b/dist/button.html deleted file mode 100644 index da99833..0000000 --- a/dist/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> |