Description
I'm trying to set up an eleventy site in Glitch, which doesn't have default 404 routing like Github Pages and Netlify do. I've tried futzing around with some advanced Glitch configuration options to set up 404 routing, but it's trickier than I'd like.
It would be really cool if people who are using the browser-sync server provided by eleventy serve
could configure it to provide 404 routing. This issue suggests how it could be done in each of the places that this.server.init
is called in src/EleventyServe.js.
I want to work on creating a pull request for this behavior, but I'm not sure how it fits into configuration of eleventy - should it be on by default, or off by default and configured through an option passed in to serve
? Or an option provided in .eleventy.js
?