We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems that a css file is returned with the incorrect mime type. Any idea what may be wrong?
The text was updated successfully, but these errors were encountered:
As a workaround, I used:
app.get('/public/*', ({set, params}) => { const file = Bun.file(`${import.meta.dir}/../public/${params['*']}`) set.headers['Content-Type'] = file.type return file.text() })
As being mentioned at elysiajs/elysia#524
Sorry, something went wrong.
Thanks for reporting this finding!
Can't reproduce it on my end. Can you give it a try with the latest verion?
bogeychan
No branches or pull requests
It seems that a css file is returned with the incorrect mime type. Any idea what may be wrong?
The text was updated successfully, but these errors were encountered: