Answer the question
In order to leave comments, you need to log in
Why does the shortened link have such an address and how to implement it?
I'm making a server and I ran into this problem: Routers are in a separate file
Through these routers, I shorten links and return id, statistics, etc. The following address turns out: http://localhost:8080/url/USiKBSUH I think this is a bad option. Cannot be removed from router requests . The spa client and index.html are accessed through
I noticed that, for example, the vk site shortens and gives the link in this form: Why is vk.cc used, and not ? And how to implement this in expressjs? Explain how everything works. app.use('/url', routerApi);
/url
'*'
https://vk.cc/....
https:/vk.com/....
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question