Closed Fantros closed 2 years ago
Example: [ { method: "get", url: "/xxx", function: "xxx" } ]
Well that's certainly not in scope/vision of itty - but if you want a JSON/config-based router, I recommend building one (or using others, which exist) and publishing it!
You can put the router in json and make a structure that can be used, it will be more organized for the user.