pass redir and remap utils to module

This commit is contained in:
Stewart Allen 2020-01-27 12:24:49 -05:00
commit 2b0d3a7bc3

View file

@ -1020,7 +1020,9 @@ function initModule(file, dir) {
} else { } else {
code[endpoint] = minify(path); code[endpoint] = minify(path);
} }
} },
redir: redir,
remap: remap
}, },
handler: { handler: {
addCORS: addCorsHeaders, addCORS: addCorsHeaders,