Open jvanveen opened 1 month ago
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 https://github.com/elysiajs/elysia/issues/524
It seems that a css file is returned with the incorrect mime type. Any idea what may be wrong?