Uncaught Error: The handle is invalid
Hi...
So I've been using npm's package called http-server to simply serve my public folder during my development phase.
I run the following code:
and it works nicely. Then I choose to use deno in my workflow but when I run the same command, I got the following error:
Is there any library that can replace my http-server?
1 Reply
You might want to check out https://jsr.io/@std/http/doc/file-server
file-server - @std/http - JSR
@std/http on JSR: Utilities for building HTTP servers