Split handlers into individual files
- Fix 500 when viewing draft posts
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user