A basic file server, adapted from
https://deno.land/[email protected]/http/file_server.ts The only difference is this
one attempts to serve .html
if there is no file extension.
Can install same as deno file_server. I like to rename to be serve
:
deno install -f --allow-net --allow-read --name=serve https://gist.githubusercontent.com/ivebencrazy/de2f30bda961aeac9444de5345f68db4/raw/ff486c1206b1ee3f92514c2f8a578a8e7bbc6b45/file_server.ts