I’m building one page application using Backbone’s router to modify browser history. I don’t want to use # in URLs.
How to tell Node server to ignore everything in particular URL, example:
http://example.com/app
http://example.com/app/one/
http://example.com/app/two/
All these 3 URLs should point to /app but without redirection. Whatever user type after /app/ should cause Node server to render staff from /app
If you are using Express, you would probably use wildcard patter in routing def