Move UI to /admin
This commit is contained in:
parent
537465842d
commit
7bdef7f80c
2 changed files with 2 additions and 1 deletions
|
@ -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) =>
|
||||||
|
|
|
@ -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))))
|
||||||
|
|
Loading…
Reference in a new issue