Closed khowling closed 5 months ago
1.0.13
Ubunutu 22.04
.use(html()) .get('/html', () => <html lang='en'> <head> <title>Hello World</title> </head> <body> <h1>Hello World</h1> </body> </html> )
browser shows html code, not the webpage, content-type is plain
No response
bun update moved elysia to v1, as package.json had "latest", but @elysiajs/html was pegged at v0. Ran bun update @elysiajs/html to resolve
elysia
package.json
@elysiajs/html
bun update @elysiajs/html
What version of Elysia.JS is running?
1.0.13
What platform is your computer?
Ubunutu 22.04
What steps can reproduce the bug?
What is the expected behavior?
browser shows html code, not the webpage, content-type is plain
What do you see instead?
No response
Additional information
No response