removes redundant usage of FRONTEND_HOST variable (#102)

This commit is contained in:
Markos Gogoulos
2021-03-21 20:36:32 +02:00
committed by GitHub
parent 3b35ce0262
commit 2552551662
7 changed files with 61 additions and 61 deletions

View File

@@ -42,7 +42,11 @@ ALLOW_RATINGS_CONFIRMED_EMAIL_ONLY = True
# ip of the server should be part of this
ALLOWED_HOSTS = ["*", "mediacms.io", "127.0.0.1", "localhost"]
FRONTEND_HOST = "http://localhost"
# this variable - along with SSL_FRONTEND_HOST is used on several places
# as email where a URL need appear etc
# FRONTEND_HOST needs an http prefix - at the end of the file
# there's a conversion to https with the SSL_FRONTEND_HOST env
INTERNAL_IPS = "127.0.0.1"