Dropped default values for webserver and template configuration records
This commit is contained in:
parent
089871ad41
commit
5bee0850b2
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user