-
-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
staticPlugin response NOT_FOUND #739
Comments
i found. if set option noCach: true
|
Also suddenly seeing this.
Config: new Elysia()
.get('/', () => Bun.file('public/index.html'))
.use(staticPlugin()) Files are present:
The |
what's you elysia version? |
Elysia 1.1.11 and |
I found the issue gone when I downgrade elysia to 1.1.7 |
Thanks. Will keep this option in mind. |
i am on elysia latest version 1.1.13. the problem gone after i renamed the public files and replaced all spaces in the files names with another character. the Space character in the files names was giving this error for me. |
Ubuntu 23.10 (x86_64) with Bun 1.1.32. |
I have tried following the example.
and my folder structure
when run on browser
http://localhost:3000/public/student.png
browser display NOT_FOUND
how to fix
Originally posted by @goodlythink in #735
The text was updated successfully, but these errors were encountered: