Support Forums

Ghost CMS - CORS error : Response to preflight request: Redirect is not allowed

Netlify site name: underthehoodlearning.com

My Ghost CMS is hosted in Heroku. I’m having trouble with the page preview feature in the Ghost Admin UI. The error in the console is shown in the attachment. I’ve tried updating the CORS policy in the header file, but that did not seem to fix it. I’m not sure if I’m still missing something in the header file or if the redirect file needs to be updated. Any help would be appreciated.

Here is the request header

And here is the response header

Maybe a little rule like this, pointing to the remote service, will help you out?