builder-web/bin/builder_web_app.ml

12 lines
176 B
OCaml
Raw Normal View History

2020-12-02 13:33:15 +00:00
open Opium
2020-12-07 09:17:49 +00:00
let t = { Builder_web.dir = Fpath.v "sample" }
2020-12-02 13:33:15 +00:00
let app =
App.empty
|> App.cmd_name "Builder Web"
|> Builder_web.add_routes t
let () =
App.run_command app