Hi, I want to create different id´s for the website and put them behind the slash eg: example.glitch.me/this-is-the-id . If I put something behind the slash, it tells me the page cannot be found (which is obvious) but is there a way to still run the index.html with anything behind the slash?
This project is a little old now, but may help provide an example of all that, if it helps to poke around existing code: http://oregano-blog.glitch.me/
allegedly glitch will serve your site that way if it’s a generated static site. back when it was a requested feature:
there are even complaints about this behavior:
edit: seems like Glitch redirects from the path to / rather than serving index.html at the path, which is the worst of both worlds. so disregard this
Yes, node.js with express and a wildcard would probabily be the best solution