From 05f079e1c3a62ff46796642f061e5830720bcc9c Mon Sep 17 00:00:00 2001 From: Brandon Chan Date: Thu, 5 Jan 2023 11:23:32 -0500 Subject: [PATCH] this resource https://github.com/aws-amplify/amplify-ui/issues/3210 fixed my deployment issue with the error message TypeError: /opt/build/repo/client/node_modules/@floating-ui/core/dist/floating-ui.core.browser.min.mjs: Cannot set properties of undefined (setting 'kind') then I added the deployed URL to the settings.py allowed hosts --- backend/project/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/project/settings.py b/backend/project/settings.py index eb6c747..37ac6a4 100644 --- a/backend/project/settings.py +++ b/backend/project/settings.py @@ -28,7 +28,7 @@ # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True if os.environ['MODE'] == 'dev' else False -ALLOWED_HOSTS = ['*'] +ALLOWED_HOSTS = ['https://teachertracker.netlify.app/'] # Application definition