summaryrefslogtreecommitdiff
path: root/web/js/api.js
diff options
context:
space:
mode:
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();