Expected behavior
Ran the lumber setup commands for v6, logged in, but am not able to see any data due to CORS. I haven’t changed anything in app.js and I would expect the allowedOrigins
below to work.
let allowedOrigins = [
/\.forestadmin\.com$/,
];
Actual behavior
in the browser console I get
Access to XMLHttpRequest at 'http://localhost:3310/forest/activePeriods/count?fields%5BactivePeriods%5D=archivableId%2CarchivableType%2CcreatedAt%2Cid%2CupdatedAt&searchExtended=0&timezone=America%2FLos_Angeles' from origin 'http://app.forestadmin.com' has been blocked by CORS policy: Request header field sentry-trace is not allowed by Access-Control-Allow-Headers in preflight response.
Context
Please provide any relevant information about your setup.
- Package Version: 3.8.0 (lumber)
- Express Version: ~4.16.3
- Sequelize Version: ~5.15.1
- Database Dialect: Postgres
- Database Version: 10.5
- Project Name: dang