mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 22:56:37 -04:00
api: add COMMENTO_BIND_ADDRESS variable
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
This commit is contained in:

committed by
daftaupe

parent
684734cb29
commit
73d04bf857
@ -16,6 +16,7 @@ func parseConfig() error {
|
||||
defaults := map[string]string{
|
||||
"POSTGRES": "postgres://postgres:postgres@localhost/commento?sslmode=disable",
|
||||
|
||||
"BIND_ADDRESS": "127.0.0.1",
|
||||
"PORT": "8080",
|
||||
"ORIGIN": "",
|
||||
|
||||
|
Reference in New Issue
Block a user