-
Notifications
You must be signed in to change notification settings - Fork 17
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
cache-control error #32
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
Thank you for creating Elysiajs & this static plugin!
I'm trying out Elysiajs with Bun (1.1.20) to see if I can setup a basic static file server + API.
However, using Elysia 1.1.3 and @elysiajs/static 1.1.0, I get the following error back in the browser
when trying to access a file from my public dir:
It seems the Response object doesn't produce any headers. The relevant code:
When I disable the cache, the error is gone:
I'm not sure if this is a Bun related issue, or whether its something else, so I thought I post it here :)
The text was updated successfully, but these errors were encountered: