If you are having difficulty enabling CORS...
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
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/