L
L
LinuxGod2021-06-23 19:52:07
CORS
LinuxGod, 2021-06-23 19:52:07

How to fix error in CORS?

Access to fetch at ' localhost:81/auth/login ' from origin ' hpzgizh3nfa51rlnkezh.com ' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header contains multiple values ​​' hpzgizh3nfa51rlnkezh.com , hpzgizh3nfa51rlnkezh.com ', but only one is allowed. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question