summaryrefslogtreecommitdiff
path: root/static/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/index.js')
-rw-r--r--static/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/static/index.js b/static/index.js
new file mode 100644
index 0000000..9f5070b
--- /dev/null
+++ b/static/index.js
@@ -0,0 +1,5 @@
+function GetSongs() {
+ fetch("/api/getSongs").then(r => r.json().then(body => {
+ console.log(body);
+ }));
+}