Move allowed_host to config

This commit is contained in:
Mauricio 2023-07-06 17:46:35 -06:00
parent 2365c7d907
commit c3ee60d249
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 = ["*"]