RafalWilinski / express-status-monitor

🚀 Realtime Monitoring solution for Node.js/Express.js apps, inspired by status.github.com, sponsored by https://dynobase.dev
https://dynobase.dev/
MIT License
3.6k stars 257 forks source link

Cannot access status path #176

Open joetidee opened 3 years ago

joetidee commented 3 years ago

I have installed this package and added the require statement like so:

const app = express();
app.use(require('express-status-monitor')());

but I end up getting forwarded to my 404 page. I assume that this middleware should intercept the route to /status and it should not fall through, but it is.

mominafiz commented 3 years ago

The path is /status-monitor unless you have changed it.

ganesh-dagadi commented 2 years ago

The demo link in the readme file also gives CANNOT GET /status error. The complete URL is https://hackathon-starter.walcony.com/status

lamweili commented 2 years ago

The path is /status-monitor unless you have changed it.

Pretty sure it's /status according to the codes and readme. https://github.com/RafalWilinski/express-status-monitor/blob/8ff29e7c4a98e2adffa27689b3b80b2f33ea8b0f/src/helpers/default-config.js#L4