Henrique Emanoel Viana
Henrique Emanoel Viana
this error also occurs when I call: await Deno.readFile ....
Thanks for reporting the issue. I will be looking for a solution and will fix it as soon as possible.
I think it's important to see between lines 218 and 238 of the server.ts file, that's where there might be a problem.
Hello, I will work on this feature. It is simple to implement. Will be available soon.
I added your feature with native JavaScript resources, see: https://github.com/hviana/faster#organizing-routes-in-files
You are just pointing the static files directory. The system does not know that the route "/" is equivalent to "index.html". You also have to indicate the root route. I...
Or, also, using the redirection middleware: server.get( "/", redirect("/Index.html"), );