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