fix: make CORS origins environment-aware based on FRONTEND_URL (#240)
- production (FRONTEND_URL=https://plyr.fm) allows plyr.fm + www.plyr.fm
- staging (FRONTEND_URL=https://stg.plyr.fm) allows stg.plyr.fm
- both environments allow localhost and cloudflare preview deployments
this ensures staging frontend (stg.plyr.fm) talks to staging API,
and production frontend (plyr.fm) talks to production API.
authored by