diff --git a/services/web/app/coffee/infrastructure/Server.coffee b/services/web/app/coffee/infrastructure/Server.coffee index 9bbbff6554..fef81cdda9 100644 --- a/services/web/app/coffee/infrastructure/Server.coffee +++ b/services/web/app/coffee/infrastructure/Server.coffee @@ -174,7 +174,7 @@ privateApiRouter.get "/profile", (req, res) -> res.json(profile) , time -app.get "/heapdump", (req, res)-> +privateApiRouter.get "/heapdump", (req, res)-> require('heapdump').writeSnapshot '/tmp/' + Date.now() + '.web.heapsnapshot', (err, filename)-> res.send filename