Refactor: removed default exports.

This commit is contained in:
Mike Cao 2025-02-13 22:53:25 -08:00
parent cd944e14ce
commit f83a12d6cd
343 changed files with 555 additions and 1046 deletions

View file

@ -33,7 +33,7 @@ function customScriptName(req) {
}
}
export default function middleware(req) {
export function middleware(req) {
const fns = [customCollectEndpoint, customScriptName];
for (const fn of fns) {