fix linting errors

This commit is contained in:
Cassie Tarakajian 2018-08-21 17:52:42 -04:00
parent 02456eaa60
commit 4dc0ee1d25

View file

@ -33,9 +33,7 @@ import { get404Sketch } from './views/404Page';
const app = new Express(); const app = new Express();
const MongoStore = connectMongo(session); const MongoStore = connectMongo(session);
app.get('/health', (req, res) => { app.get('/health', (req, res) => res.json({ success: true }));
return res.json({success: true});
});
// For basic auth, in setting up beta editor // For basic auth, in setting up beta editor
if (process.env.BASIC_USERNAME && process.env.BASIC_PASSWORD) { if (process.env.BASIC_USERNAME && process.env.BASIC_PASSWORD) {