bun-router 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/router/router.ts +1 -1
- package/package.json +1 -1
package/lib/router/router.ts
CHANGED
@@ -41,7 +41,7 @@ const html = async (content: string): Promise<Response> => {
|
|
41
41
|
const response = new Response(c, {
|
42
42
|
status: 200,
|
43
43
|
statusText: 'ok',
|
44
|
-
headers: {'Content-Type': 'text/html'},
|
44
|
+
headers: {'Content-Type': 'text/html; charset=utf-8'},
|
45
45
|
});
|
46
46
|
|
47
47
|
return new Promise<Response>((resolve) => {
|
package/package.json
CHANGED