mirror of
https://github.com/Lissy93/web-check.git
synced 2024-11-22 00:03:54 +01:00
feat: Add old-school export option for Netlify
This commit is contained in:
parent
a6bc8d790e
commit
ba8880cff7
@ -124,4 +124,8 @@ const commonMiddleware = (handler) => {
|
|||||||
return nativeMode ? vercelHandler : netlifyHandler;
|
return nativeMode ? vercelHandler : netlifyHandler;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (PLATFORM === 'NETLIFY') {
|
||||||
|
module.exports = commonMiddleware;
|
||||||
|
}
|
||||||
|
|
||||||
export default commonMiddleware;
|
export default commonMiddleware;
|
||||||
|
Loading…
Reference in New Issue
Block a user