intercept(ApplicationCallPipeline.Call) { if(call.request.uri.endsWith(ctx) || call.request.uri.endsWith("logs")) { call.respondRedirect(call.request.uri + "/") finish() } }