You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In fresh x-basic template, any assets under public directory can't be accessed except /favicon.ico. If I were to use static directory and access it via /static/image.jpg, it works. But that’s confusing because public and static essentially serve the same purpose.
What is the expected behavior?
can access assets under public directory e.g. /image.jpg
What version of HonoX are you using?
0.1.24
What steps can reproduce the bug?
In fresh
x-basic
template, any assets underpublic
directory can't be accessed except/favicon.ico
. If I were to usestatic
directory and access it via/static/image.jpg
, it works. But that’s confusing becausepublic
andstatic
essentially serve the same purpose.What is the expected behavior?
can access assets under
public
directory e.g./image.jpg
What do you see instead?
404 not found
Additional information
using this vite config as workaround:
The text was updated successfully, but these errors were encountered: