Public
Script
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
1
2
3
4
export const luciaMiddleware = (handler) => (async (req) => {
const { luciaMiddleware } = await import("https://esm.town/v/yawnxyz/lucia_middleware");
return luciaMiddleware(handler)(req);
})
September 2, 2024