mv data/ default/

This commit is contained in:
swrup 2026-02-10 11:59:51 +01:00
parent 0a45e7fe95
commit 52b149b590
13 changed files with 38 additions and 37 deletions

View file

@ -1,9 +1,11 @@
open Parse_config
let config_filename = "mte.conf"
let secrets_dir = Fpath.v "secrets"
let config_data =
let path = Fpath.to_string (Fpath.v "default.config") in
match Assets_crunch.read path with
| None -> fail "static file not found: `%s`" path
match Assets_crunch.read config_filename with
| None -> fail "static file not found: `%s`" config_filename
| Some data ->
let v = Config_section.parse data in
v