Public
Like
fetch-router
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
router.ts
https://wolf--20a64482b9d011f09c030224a6c84d84.web.val.run
Originally copy/pasted the "complete blog" example from the fetch-router docs and, through that process, found a few things that didn’t quite work. So I made tweaks and came up with this val.
This is meant to be an interesting, basic example of what the fetch-router gives you out of the box — and how you can stitch together a system of URLs in a type safe way.