summaryrefslogtreecommitdiff
path: root/static/index.js
diff options
context:
space:
mode:
authorPhysick <96335032+DegustatorPonos@users.noreply.github.com>2025-12-06 12:05:43 +0500
committerPhysick <96335032+DegustatorPonos@users.noreply.github.com>2025-12-06 12:05:43 +0500
commit5fd81183f54662fdf08549c0d635e80166c62fe9 (patch)
tree0b730dd4f19c7446fabcc2ee7cc7313e94e67fe3 /static/index.js
initial endpoints
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);
+ }));
+}