Added logic to support public notes

This commit is contained in:
Keannu Christian Bernasol 2023-03-29 19:37:42 +08:00
parent 53dc50c55a
commit 390040d460
7 changed files with 32 additions and 6 deletions

View file

@ -26,9 +26,10 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ.get('SECRET_KEY')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = True
ALLOWED_HOSTS = ['lemeow125.github.io', 'keannu126.pythonanywhere.com']
ALLOWED_HOSTS = ['lemeow125.github.io',
'keannu126.pythonanywhere.com', '127.0.0.1', 'localhost']
# Application definition