style(livereload): format code

This commit is contained in:
Asif Bacchus 2021-07-28 04:12:19 -06:00
parent 1194fc63c6
commit 13ec1a72e9

View File

@ -7,12 +7,12 @@ function healthcheck() {
const app = express(); const app = express();
const router = express.Router(); const router = express.Router();
router.use((req, res, next) =>{ router.use((req, res, next) => {
res.header('Access-Control-Allow-Methods', 'GET'); res.header('Access-Control-Allow-Methods', 'GET');
next(); next();
}); });
router.get('/health', (req, res) =>{ router.get('/health', (req, res) => {
res.status(200).send('Ok'); res.status(200).send('Ok');
}); });
@ -38,7 +38,7 @@ const options = {
exts: process.env.LR_EXTS, exts: process.env.LR_EXTS,
exclusions: extraExclusions, exclusions: extraExclusions,
usePolling: true, usePolling: true,
delay: process.env.LR_DELAY, delay: process.env.LR_DELAY
}; };
// set debugging output as per LR_DEBUG // set debugging output as per LR_DEBUG