From bad4d4d647759f3b2f07da471c8a3bce171163bb Mon Sep 17 00:00:00 2001 From: keannu125 Date: Sat, 25 Mar 2023 13:17:16 +0800 Subject: [PATCH] Update frontend url --- project/config/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project/config/settings.py b/project/config/settings.py index 2ccfc45..eb769e6 100644 --- a/project/config/settings.py +++ b/project/config/settings.py @@ -26,7 +26,7 @@ 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 = True +DEBUG = False ALLOWED_HOSTS = ['lemeow125.github.io', 'keannu126.pythonanywhere.com'] @@ -144,8 +144,8 @@ REST_FRAMEWORK = { CORS_ALLOW_ALL_ORIGINS = True CORS_ALLOW_CREDENTIALS = True -DOMAIN = 'lemeow125.github.io/react-notes/#' -SITE_NAME = 'lemeow125.github.io/react-notes/#' +DOMAIN = 'lemeow125.github.io/React-NotesApp/#' +SITE_NAME = 'lemeow125.github.io/React-NotesApp/#' DJOSER = {