V
V
Vasya2021-12-03 14:04:32
CORS
Vasya, 2021-12-03 14:04:32

How to defeat cors for cdek, pochta api in vue3 production?

Deployed a server for vue3, took the files from the dist folder and uploaded them to the server with the domain; configured nginx for links to work: try_files $uri $uri/ /index.html;
Everything works fine, it makes requests to my api without problems.
If I connect third-party services: cdek, pochta, then a CORS error falls out
. Where to dig, because these services are configured in order to make requests to them?

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