Move UI to /admin

This commit is contained in:
Yann Esposito (Yogsototh) 2022-08-16 16:00:43 +02:00
parent 537465842d
commit 7bdef7f80c
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
2 changed files with 2 additions and 1 deletions

View file

@ -27,6 +27,7 @@ function appendEntry (entry) {
li.appendChild(a); li.appendChild(a);
u.appendChild(li); u.appendChild(li);
} }
fetch('/y') fetch('/y')
.then((response) => response.json()) .then((response) => response.json())
.then((lst) => .then((lst) =>

View file

@ -119,5 +119,5 @@
;; coercing request parameters ;; coercing request parameters
coercion/coerce-request-middleware]}}) coercion/coerce-request-middleware]}})
(ring/routes (ring/routes
(ring/create-resource-handler {:path "/" :root "public"}) (ring/create-resource-handler {:path "/admin" :root "public"})
(ring/create-default-handler)))) (ring/create-default-handler))))