mirror of
https://github.com/Lissy93/web-check.git
synced 2025-12-19 18:12:23 -05:00
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