2025-09-23 20:58:34 +02:00
|
|
|
let default_lang = "en"
|
2025-09-27 18:38:54 +02:00
|
|
|
let default_encoding : [< `Identity | `DEFLATE | `Gzip ] = `Identity
|
2025-09-23 20:58:34 +02:00
|
|
|
|
2025-09-28 19:57:49 +02:00
|
|
|
(* TODO Taler documentation
|
|
|
|
|
markdown mimetype should be the prefered one, and be supported, according to DD
|
|
|
|
|
we take text/plain as default instead for now *)
|
|
|
|
|
let default_mimetype = ("text", "plain")
|
|
|
|
|
let default_extension = ".txt"
|
|
|
|
|
|
2025-09-23 20:58:34 +02:00
|
|
|
(* TODO
|
2025-09-28 19:57:49 +02:00
|
|
|
- generate `config.ml` from config file (virtual module)?
|
|
|
|
|
- no relative path *)
|
2025-09-13 19:32:30 +02:00
|
|
|
|
|
|
|
|
let terms_dir = Fpath.(v "terms")
|
|
|
|
|
let privacy_dir = Fpath.(v "privacy")
|
2025-09-14 23:04:53 +02:00
|
|
|
|
2025-09-28 19:57:49 +02:00
|
|
|
(* ETAG is used as base filename
|
|
|
|
|
it should be encoded in Crockford base-32
|
|
|
|
|
we do not generate it and we do not verify it *)
|
2025-09-28 21:27:15 +02:00
|
|
|
let terms_etag = "0" |> Headers_lib.Etag.of_crockford32 |> Result.get_ok
|
|
|
|
|
let privacy_etag = "0" |> Headers_lib.Etag.of_crockford32 |> Result.get_ok
|
2025-09-27 18:49:16 +02:00
|
|
|
let terms_legal_version = "1"
|
|
|
|
|
let privacy_legal_version = "1"
|