Commit ebe09fa9 authored by Louis Gesbert's avatar Louis Gesbert
Browse files

Listen to the broadcast interface, not just localhost

parent a30b965f
......@@ -12,7 +12,7 @@ let page path =
| Some page -> Some (Omd.of_string page |> Omd.to_html)
let () =
Dream.run @@ Dream.logger
Dream.run ~interface:"0.0.0.0" @@ Dream.logger
@@ Dream.router
[ Dream.get "/assets/**" (Dream.static ~loader:asset_loader "")
; 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