2026-07-06 20:56:55 +07:00
|
|
|
export const handleHome = async (): Promise<Response> => {
|
2026-07-06 21:38:17 +07:00
|
|
|
const html = await Bun.file(import.meta.dir + '/../home.html').text();
|
2026-07-06 20:56:55 +07:00
|
|
|
return new Response(html, {
|
|
|
|
|
status: 200,
|
|
|
|
|
headers: {
|
|
|
|
|
'content-type': 'text/html; charset=utf-8',
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
};
|