2026-07-06 20:56:55 +07:00
|
|
|
export const handleHome = async (): Promise<Response> => {
|
2026-07-07 03:07:51 +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',
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
};
|