aidansteele / ima.ge.cx

https://ima.ge.cx
MIT License
31 stars 2 forks source link

Configure RUM via Env Vars #16

Open antstanley opened 1 year ago

antstanley commented 1 year ago

AWS Real User Monitoring configuration is hard coded. Would be good to move to injecting details via environment variables or a .env file.

Happy to contribute a PR

aidansteele commented 1 year ago

Great idea, yes please! I noticed in localhost that RUM was erroring because of the wrong config.

A PR would be amazing 👍 especially if it kept RUM disabled when the env vars are empty/undefined