CORS error with Messenger widget in Next.js

Getting a CORS block on GET /webmessaging/v1/guest when embedding the widget in a Next.js SSR app. Tried adding headers in next.config.js but the fetch still fails with ‘No Access-Control-Allow-Origin’. Running on US/Pacific env. Is the guest endpoint supposed to support browser-side CORS? Here is the config I tried: headers: [{ key: ‘Access-Control-Allow-Origin’, value: ‘*’ }]. Still hitting the wall.