Skip to content

Commit 89ddb78

Browse files
fix: restore Cloud.gov client origins to CORS whitelist
The pen test remediation over-trimmed the CORSWhitelist, removing legitimate dev/staging/prod client URLs. The actual CORS fix was in the callback logic (rejecting undefined origins), not in removing real client origins.
1 parent d3249ec commit 89ddb78

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

server/config/config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ module.exports = {
8080
"CORSWhitelist": [
8181
"http://localhost:4200",
8282
"https://srt.app.cloud.gov",
83+
"https://srt-client.app.cloud.gov",
84+
"https://srt-client-dev.app.cloud.gov",
85+
"https://srt-client-staging.app.cloud.gov",
86+
"https://srt-client-prod.app.cloud.gov",
8387
],
8488
"constants": {
8589
"EMAIL_ACTION": "Sent email to POC",

0 commit comments

Comments
 (0)