Compare commits

...

2 Commits

Author SHA1 Message Date
Mauricio 7fabd62ae2 Move allowed_host to config 2023-07-06 17:46:58 -06:00
Mauricio c3ee60d249 Move allowed_host to config 2023-07-06 17:46:35 -06:00
1 changed files with 1 additions and 1 deletions

View File

@ -14,6 +14,7 @@ import os
import re
from .conf import (
ALLOWED_HOSTS,
DEBUG,
DEFAULT_DB,
SECRET_KEY,
@ -35,7 +36,6 @@ MEDIA_ROOT = os.path.join(BASE_DIR, "media/")
MEDIA_URL = "media/"
ALLOWED_HOSTS = ["mauflix.cuates.net", "cuates.net"]
if DEBUG:
ALLOWED_HOSTS = ["*"]