Split handlers into individual files

- Fix 500 when viewing draft posts
This commit is contained in:
2022-05-18 17:04:10 -04:00
parent 13e9919f58
commit 20b7ba1150
14 changed files with 1066 additions and 1030 deletions

View File

@@ -276,7 +276,7 @@ let main args =
let _ = app.UseStaticFiles ()
let _ = app.UseRouting ()
let _ = app.UseSession ()
let _ = app.UseGiraffe Handlers.endpoints
let _ = app.UseGiraffe Handlers.Routes.endpoints
app.Run()