Add custom response for favicon resource in monitor (#278)

This commit is contained in:
Gerardo Nardelli 2020-02-03 09:48:28 -03:00 committed by GitHub
parent 7fcb118c8c
commit c408d57716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,6 +5,7 @@ const { readFile } = require('./utils/file')
const app = express()
const bridgeRouter = express.Router({ mergeParams: true })
app.get('/favicon.ico', (req, res) => res.sendStatus(204))
app.use('/:bridgeName', bridgeRouter)
bridgeRouter.get('/', async (req, res, next) => {