Use .logarion/config.toml for webserver too
This commit is contained in:
parent
0400b7c8a0
commit
2f9cebccc2
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user