deno serve
: support using the fetch handler as the default export
#23844
Labels
deno serve
: support using the fetch handler as the default export
#23844
In https://val.town, you declare a server by using the fetch handler as your module default export.
One interesting property is that it makes it easy to add middlewares on top of servers:
What do you think of adding support for this convention in
deno serve
?The text was updated successfully, but these errors were encountered: