Skip to content

Commit a00c38c

Browse files
authored
Merge pull request #1250 from NASA-IMPACT/1249-add-https-link-to-cors_allowed_origins-for-sde-lrm
Added https URL to allow CORS
2 parents 3632801 + 067af7a commit a00c38c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,8 @@ For each PR made, an entry should be added to this changelog. It should contain
119119
- Changes:
120120
- Added a JavaScript validation check on form submission to ensure the document type (stored in a hidden input) is not empty.
121121
- Display an error message and prevent form submission if the field is empty.
122+
123+
- 1249-add-https-link-to-cors_allowed_origins-for-sde-lrm
124+
- Description: The feedback form API was throwing CORS errors and to rectify that, we need to add the apt https link for sde-lrm.
125+
- Changes:
126+
- Added `https://sde-lrm.nasa-impact.net` to `CORS_ALLOWED_ORIGINS` in the base settings.

config/settings/base.py

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
CORS_ALLOWED_ORIGINS = [
9393
"http://localhost:3000",
9494
"http://sde-lrm.nasa-impact.net",
95+
"https://sde-lrm.nasa-impact.net",
9596
"https://sde-qa.nasa-impact.net",
9697
"https://sciencediscoveryengine.test.nasa.gov",
9798
"https://sciencediscoveryengine.nasa.gov",

0 commit comments

Comments
 (0)