mv data/ default/
This commit is contained in:
parent
0a45e7fe95
commit
52b149b590
13 changed files with 38 additions and 37 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue