Open anbraten opened 6 months ago
A script like this seems to allow basic static hosting:
export function handler(request: Request) {
return new Response('', {
status: 302,
headers: {
location: '/404.html',
},
});
}
Lagoss currently requires a function index file to be configured. Static projects wont have such a file by default and only contain static .html files and assets.
Possible options
index.js
entryfile serving theindex.html
as needed.