No more warbler

This commit is contained in:
2024-03-20 19:58:19 +10:00
parent dbf99acfa8
commit 030771eace

View File

@@ -7,12 +7,7 @@ open Types
module Program =
let pipeline = pipeline {
use_warbler
}
let router = router {
pipe_through pipeline
not_found_handler (setStatusCode 404 >=> text "404")
get "/" ( (View.index [||]) |> htmlView)
getf "/%s" (fun username -> htmlView(Controller.RenderPageWithUser username))