diff --git a/tdrs-frontend/cypress/support/commands.js b/tdrs-frontend/cypress/support/commands.js index 0953e1bfa..890fe2403 100644 --- a/tdrs-frontend/cypress/support/commands.js +++ b/tdrs-frontend/cypress/support/commands.js @@ -80,7 +80,7 @@ Cypress.Commands.add( url: `${Cypress.env('adminUrl')}${path}`, form: true, headers: { - Referer: `${Cypress.env('adminUrl')}`, //'https://tdp-frontend-develop.acf.hhs.gov/admin', // + Referer: `${Cypress.env('adminUrl')}`, }, } diff --git a/tdrs-frontend/nginx/cloud.gov/locations.conf b/tdrs-frontend/nginx/cloud.gov/locations.conf index 0266c8050..9b3e16da6 100644 --- a/tdrs-frontend/nginx/cloud.gov/locations.conf +++ b/tdrs-frontend/nginx/cloud.gov/locations.conf @@ -4,7 +4,7 @@ location ~ ^/(v1|admin|static/admin|swagger|redocs) { resolver 169.254.0.2; set $backend http://{{env "BACKEND_HOST"}}.apps.internal:8080$request_uri; proxy_pass $backend; - proxy_pass_header x-csrftoken ; + proxy_pass_header x-csrftoken; proxy_set_header Referer "https://tdp-frontend-develop.acf.hhs.gov/admin"; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;