Unverified Commit 1b0e3b55 authored by zapashcanon's avatar zapashcanon
Browse files

stop being dumb

parent 0ec6cf75
Pipeline #15555 passed with stages
in 7 minutes and 48 seconds
...@@ -12,7 +12,8 @@ let page path = ...@@ -12,7 +12,8 @@ let page path =
| Some page -> Some (Omd.of_string page |> Omd.to_html) | Some page -> Some (Omd.of_string page |> Omd.to_html)
let () = let () =
Dream.run @@ Dream.logger Dream.run ~interface:"0.0.0.0"
@@ Dream.logger
@@ Dream.router @@ Dream.router
[ Dream.get "/assets/**" (Dream.static ~loader:asset_loader "") [ Dream.get "/assets/**" (Dream.static ~loader:asset_loader "")
; Dream.get "/" (fun _request -> ; Dream.get "/" (fun _request ->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment