Skip to content

Commit bbe9975

Browse files
chore(monitor): não monitorar as requests de status de uso de recurso da máquina
1 parent 63818ce commit bbe9975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/monitor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = async app => {
2424
identifyUser: (req, res) => { return formaDeExecucao() },
2525
identifyCompany: (req, res) => { return version },
2626
skip: (req, res) => {
27-
if (req.path === '/favicon.ico' || req.path === '/version' || (formaDeExecucao() === 'serverest.dev' && req.path === '/') || req.headers.monitor) {
27+
if (req.path === '/favicon.ico' || req.path === '/version' || req.path === '/socket.io' || (formaDeExecucao() === 'serverest.dev' && req.path === '/') || req.headers.monitor) {
2828
return true
2929
}
3030
},

0 commit comments

Comments
 (0)