fix linting errors
This commit is contained in:
parent
02456eaa60
commit
4dc0ee1d25
1 changed files with 1 additions and 3 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue