V
V
Vladimir Golub2021-10-11 11:24:53
Node.js
Vladimir Golub, 2021-10-11 11:24:53

Is it possible to find out the address of the page from which the request was made to the server without passing it?

The front on the SSR is deployed on port 3000, and the server is on port 4000.
Is it possible to find out the full address of the page from which the request was made?

Now I can only get the host:

origin: 'http://localhost:3000',
referer: 'http://localhost:3000/',

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