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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # 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.
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: