Commit Graph

6 Commits

Author SHA1 Message Date
Adhityaa
39940c9f6b api: config files have lower precedence than envvars 2018-06-21 21:08:28 +05:30
Adhityaa
bb24f62b9c config_file.go: return error if config is invalid 2018-06-21 21:03:35 +05:30
Adhityaa
4890bc4cc7 config_file.go: allow comments with hash prefix 2018-06-21 20:59:42 +05:30
Adhityaa
6f06c4ed65 config_file.go: skip newlines 2018-06-21 20:59:29 +05:30
Adhityaa
ccfdba4f54 config_file.go: trim whitespace before processing 2018-06-21 20:58:26 +05:30
Adhityaa
1b1c97f0f0 api: allow configuration files
Closes https://gitlab.com/commento/commento-ce/issues/55
2018-06-21 20:53:06 +05:30