serveStatic
does not work when set absolute path to root
#3107
Labels
enhancement
New feature or request.
serveStatic
does not work when set absolute path to root
#3107
What version of Hono are you using?
4.4.12
What runtime/platform is your app running on?
Deno and Bun
What steps can reproduce the bug?
This is minimal script to reproduce the bug. This script can be executed with
deno run --allow-net --allow-read
command.The directory structure of
/tmp/public_html/
:/tmp/public_html/index.html
:When accsessing
http://localhost:8000
, the server returns404 Not Found
and outputs an error:What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: