Refactor: removed default exports.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user