Skip to content

Commit

Permalink
Update ALLOWED_ORIGINS to match dev requirements (#393)
Browse files Browse the repository at this point in the history
## What's changed?

When running the Editor frontend using the web component (on
localhost:3012 as per the README / `.env` config) I received CORS
errors, this PR provides the necessary updates to the config for
development (ie. adds `localhost:3012`), along with listing the hosts /
ports in an ascending order.
  • Loading branch information
grega authored Jul 23, 2024
2 parents d03ac2e + 6580472 commit 3a3f0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ALLOWED_ORIGINS=localhost:3000,localhost:3002,localhost:3010,editor.rpfdev.com,localhost:3009
ALLOWED_ORIGINS=localhost:3000,localhost:3002,localhost:3009,localhost:3010,localhost:3012,editor.rpfdev.com

AWS_ACCESS_KEY_ID=changeme
AWS_S3_ACTIVE_STORAGE_BUCKET=changeme
Expand Down

0 comments on commit 3a3f0e7

Please sign in to comment.