V
V
vasIvas2015-08-21 12:49:32
JavaScript
vasIvas, 2015-08-21 12:49:32

How to combine a server with a client that is running on another server?

The thing is, the expressjs server, the client is running on browser-sync, which is also a server in its essence. Is it normal that I can't send ajax requests from the client? And is there any way to fix this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2015-08-21
@vasIvas

Yes, it's ok - there is a CORS policy.
Yes, you can fix it.
There is a lot of information on the Internet on this topic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question