fix: invoke `authenticate` factory

pull/3742/head
Luke Edwards 5 years ago committed by Conduitry
parent 577333e180
commit ce5bd1bf35

@ -15,7 +15,7 @@ const app = polka({
}); });
if (process.env.PGHOST) { if (process.env.PGHOST) {
app.use(authenticate); app.use(authenticate());
} }
app.use( app.use(
@ -34,4 +34,4 @@ app.use(
}) })
); );
app.listen(PORT); app.listen(PORT);

Loading…
Cancel
Save