Skip to content

Commit

Permalink
this resource aws-amplify/amplify-ui#3210 fixed my deployment issue w…
Browse files Browse the repository at this point in the history
…ith 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
  • Loading branch information
BChan26 committed Jan 5, 2023
1 parent f4e532a commit 05f079e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/project/settings.py
Expand Up @@ -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
Expand Down

0 comments on commit 05f079e

Please sign in to comment.