Closed larsll closed 3 months ago
When deploying DREM outside of eu-west-1 the following error will show up:
This is due to hard-coding of the RUM URL in lib/constructs/cw-rum.ts, sending API calls to eu-west-1, regardless of deployment location.
lib/constructs/cw-rum.ts
More hard-coding found here:
website/src/App.js
website-leaderboard/src/App.js
When deploying DREM outside of eu-west-1 the following error will show up:
This is due to hard-coding of the RUM URL in
lib/constructs/cw-rum.ts
, sending API calls to eu-west-1, regardless of deployment location.