Skip to content

Commit

Permalink
Add email bucket and take out unnecessary allow origin list
Browse files Browse the repository at this point in the history
  • Loading branch information
aloftus23 committed Mar 27, 2024
1 parent 951fde2 commit 9ae3b5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions backend/env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ staging:
PE_API_URL: ${ssm:/crossfeed/staging/PE_API_URL}
REPORTS_BUCKET_NAME: cisa-crossfeed-staging-reports
VPC_ENDPOINT: ${ssm:/crossfeed/staging/BACKEND_VPC_ENDPOINT}
EMAIL_BUCKET_NAME: cisa-crossfeed-staging-html-email

prod:
DB_DIALECT: 'postgres'
Expand Down Expand Up @@ -83,6 +84,7 @@ prod:
PE_API_URL: ${ssm:/crossfeed/prod/PE_API_URL}
REPORTS_BUCKET_NAME: cisa-crossfeed-prod-reports
VPC_ENDPOINT: ${ssm:/crossfeed/prod/BACKEND_VPC_ENDPOINT}
EMAIL_BUCKET_NAME: cisa-crossfeed-prod-html-email

## added dev option for vpc to remove the warning
## from 'npx sls package' during backend 'test' github action
Expand Down
2 changes: 1 addition & 1 deletion frontend/scripts/constants.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
//CORS Options
export const ALLOW_ORIGIN = ["*"];
export const ALLOW_ORIGIN = '*';
export const ALLOW_METHODS = ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'];

0 comments on commit 9ae3b5c

Please sign in to comment.