When I try to return plain text from the reply callback, it doesn't seem to work - it just hangs. Does anybody have any ideas as to why?
export default function (server) {
server.route({
path: '/metrics',
method: 'GET',
handler(req, reply) {
return 'ok'
}
});
}
When I return reply("text") it returns "text" surrounded in html tags