Currently vercel will deploy PR branches for production checks prior to merging. This is super useful, but the production backend rejects these clients for not matching CORS origin. Need to rework CORS origin as an array including a regex string to catch all branch deployment urls.
[x] Branch deployments to vercel are not rejected by the backend
[x] all vercel production deployment URLs are accepted by the backend
Currently vercel will deploy PR branches for production checks prior to merging. This is super useful, but the production backend rejects these clients for not matching CORS origin. Need to rework CORS origin as an array including a regex string to catch all branch deployment urls.