Serve index.html by default
This commit is contained in:
parent
6c350faa58
commit
2ba7486d91
1 changed files with 3 additions and 2 deletions
|
|
@ -26,8 +26,9 @@
|
|||
(let [{:keys [snapshot predictions]} (-> req :params)]
|
||||
(upload! snapshot predictions)
|
||||
{:status 201
|
||||
:body (str "Thanks :)")}))}]]
|
||||
["/*" (ring/create-resource-handler)])))
|
||||
:body (str "Thanks :)")}))}]
|
||||
["/*" (ring/create-resource-handler)]]
|
||||
{:conflicts (constantly nil)})))
|
||||
|
||||
(defonce server (atom nil))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue