feat: add web file manager UI and S3 catch-all route
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export const handleHome = async (): Promise<Response> => {
|
||||
const html = await Bun.file('src/home.html').text();
|
||||
return new Response(html, {
|
||||
status: 200,
|
||||
headers: {
|
||||
'content-type': 'text/html; charset=utf-8',
|
||||
},
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user