Convert all API endpoints into ESM modules
This commit is contained in:
@@ -124,4 +124,4 @@ const commonMiddleware = (handler) => {
|
||||
return nativeMode ? vercelHandler : netlifyHandler;
|
||||
};
|
||||
|
||||
module.exports = commonMiddleware;
|
||||
export default commonMiddleware;
|
||||
|
||||
Reference in New Issue
Block a user