Answer the question
In order to leave comments, you need to log in
How to restrict access or redirect to url?
How to make a redirect from any url that is not registered in app.get/post?
Conditionally, I have app.get registered on domain/index and only it was opened, but when switching to any other get (for example, / or /as it was thrown to the index. Or how to make a page a stub for unregistered ones?
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