M
M
Max Zhukov2020-09-28 17:18:46
JavaScript
Max Zhukov, 2020-09-28 17:18:46

Why is a CORS error triggered when sending a request for a URL to the server from the chrome browser?

Why does a CORS error fire when sending a request to a URL to the nodejs server from the chrome browser for only one user, everything works for everyone else? Third-party extensions are not worth it in chrome.
5f71f07b986bf949791758.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
ReActor Dmitry Vershansky, 2020-09-28
@HunteR-VRX

Hello.
Try adding a directive to htaccess
Header set Access-Control-Allow-Origin '*'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question