Access to XMLHttpRequest at '' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

Hello, help me with, showing this

please provide a minimum of informations…

I use nodejs for live chat, and better server operation. If I install a web server without hestia, everything works. If I install HestiaCP and start the nodejs chat service, it will display an error called the name.

Add add_header Access-Control-Allow-Origin “*”;

to the domain template

And where is the domain template?


not work

Once again, post a minimal stack of informations, for “not work” you will not get any help. If you can’t understand this, please refrain to open any new threads.

I just don’t know how to create a template here. I put the code that eris wrote everywhere, and it doesn’t work anyway. Can’t help?

Yes. i can’t help because you dont provide enough informations. A wise man wrote once:

So either you write all possible informations you have or pay a sysadmin to help out.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.