Dropped default values for webserver and template configuration records

This commit is contained in:
Stavros Polymenis 2017-10-20 23:13:48 +01:00
parent 089871ad41
commit 5bee0850b2
2 changed files with 0 additions and 16 deletions

View File

@ -12,15 +12,6 @@ module Configuration = struct
item : path_t;
}
let default_paths = {
dir = None;
header = None;
note = None;
front = None;
list = None;
item = None;
}
let of_config config =
let open Confix.ConfixToml in
let p k = path config ("templates" / k) in

View File

@ -11,13 +11,6 @@ module Configuration = struct
template : Template.Configuration.paths_t;
}
let default = {
url = Uri.empty;
static = Fpath.v (Sys.getcwd () ^ "/share/static");
styles = [];
template = Template.Configuration.default_paths;
}
let of_config config =
let open Confix.Config in
let open Confix.ConfixToml in