Skip to main content
Enabling CORS
Updated this week

If you are having difficulty enabling CORS...

  1. Make sure to enable/accept those kinds of requests. It's not NC directly, but rather the browsers themselves checking if any kind of request is allowed in the first place

  2. To do this, (according to the source code) you may need to add this env variable:

LOCALAI_CORS=true
LOCALAI_CORS_ALLOW_ORIGINS=https://app.novelcrafter.com/

Did this answer your question?