Use .logarion/config.toml for webserver too

This commit is contained in:
Stavros Polymenis 2017-10-27 13:46:03 +01:00
parent 0400b7c8a0
commit 2f9cebccc2

View File

@ -52,7 +52,7 @@ let serve config_filename =
let toml_config =
let open Confix.Config in
(if config_filename = "" then Path.with_file "config.toml" else Path.of_string config_filename)
(if config_filename = "" then Path.with_file ".logarion/config.toml" else Path.of_string config_filename)
|> function Ok cfg -> Config.from_path cfg | Error str -> prerr_endline str; exit 1
in
let config =