diff --git a/CHANGELOG.md b/CHANGELOG.md index 0108b06b..9f97a79d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -119,3 +119,8 @@ For each PR made, an entry should be added to this changelog. It should contain - Changes: - Added a JavaScript validation check on form submission to ensure the document type (stored in a hidden input) is not empty. - Display an error message and prevent form submission if the field is empty. + +- 1249-add-https-link-to-cors_allowed_origins-for-sde-lrm + - Description: The feedback form API was throwing CORS errors and to rectify that, we need to add the apt https link for sde-lrm. + - Changes: + - Added `https://sde-lrm.nasa-impact.net` to `CORS_ALLOWED_ORIGINS` in the base settings. diff --git a/config/settings/base.py b/config/settings/base.py index 0c16c59b..39e45030 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -92,6 +92,7 @@ CORS_ALLOWED_ORIGINS = [ "http://localhost:3000", "http://sde-lrm.nasa-impact.net", + "https://sde-lrm.nasa-impact.net", "https://sde-qa.nasa-impact.net", "https://sciencediscoveryengine.test.nasa.gov", "https://sciencediscoveryengine.nasa.gov",