add taler_config.ml with module sig; put config in assets.ml
This commit is contained in:
parent
be2e590e93
commit
a3d6b30170
6 changed files with 245 additions and 177 deletions
|
|
@ -83,13 +83,13 @@ module Static = struct
|
|||
in
|
||||
let* () =
|
||||
(* todo: is it "taler-privacy-version" for /policy ? *)
|
||||
add ~field:"taler-terms-version" Config.terms_legal_version
|
||||
add ~field:"taler-terms-version" Assets.Config.terms_legal_version
|
||||
in
|
||||
let* () =
|
||||
add ~field:"avail-languages" Headers.avail_languages_header_value
|
||||
in
|
||||
let* () =
|
||||
let content_type = Fmt.str "%a" Util.pp_mime mime in
|
||||
let content_type = Fmt.str "%a" Assets.Mimetype.pp_mime mime in
|
||||
add ~field:"content-type" content_type
|
||||
in
|
||||
respond `OK)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue