summaryrefslogtreecommitdiff
path: root/web/js/api.js
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-09 11:11:49 +0300
committerPaul Buetow <paul@buetow.org>2026-05-09 11:11:49 +0300
commit8c32cd117abe79f4ee6cff3a950ffc35c95faeff (patch)
tree5b63a4789351da4f2d9c1cd2e7007f67d43b3371 /web/js/api.js
parent59c8870061465142306e7a6e5d3fcb344686cfe9 (diff)
Refine media browsing and set covers
Diffstat (limited to 'web/js/api.js')
-rw-r--r--web/js/api.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/js/api.js b/web/js/api.js
index 66fac59..9b0436e 100644
--- a/web/js/api.js
+++ b/web/js/api.js
@@ -44,6 +44,7 @@ export const API = {
login: (username, password) => api('/api/login', { method: 'POST', body: { username, password } }),
logout: () => api('/api/logout', { method: 'POST' }),
bootstrap: (username, password) => api('/api/bootstrap', { method: 'POST', body: { username, password } }),
+ config: () => api('/api/config'),
sets: () => api('/api/sets'),
media: (qs) => {
const params = new URLSearchParams();