removes unused sleep method

This commit is contained in:
jimmylee 2020-10-27 11:07:26 -07:00
parent a41a345bcf
commit 08680b78a2

View File

@ -22,12 +22,6 @@ const app = next({
quiet: false,
});
function sleep(ms) {
return new Promise((resolve) => {
setTimeout(resolve, ms);
});
}
const handler = app.getRequestHandler();
const EXTERNAL_RESOURCES = {