Updates all API functions, to work on both Vercel & Netlify
This commit is contained in:
@@ -67,4 +67,5 @@ const handler = async function(url) {
|
||||
}
|
||||
};
|
||||
|
||||
exports.handler = middleware(handler);
|
||||
module.exports = middleware(handler);
|
||||
module.exports.handler = middleware(handler);
|
||||
|
||||
Reference in New Issue
Block a user