diff --git a/handshake-api/index.js b/handshake-api/index.js index 41dad687..452d50c7 100644 --- a/handshake-api/index.js +++ b/handshake-api/index.js @@ -75,9 +75,9 @@ server.use( proxy("nginx", { // eslint-disable-next-line no-unused-vars userResHeaderDecorator(headers, userReq, userRes, proxyReq, proxyRes) { - if (!userReq.url.endsWith("/")) { - userRes.redirect(307, `${userReq.url}/`); - } + // if (!userReq.url.endsWith('/')) { + // userRes.redirect(307, `${userReq.url}/`); + // } if (headers.location && headers.location.match(startsWithSkylinkRegExp)) { headers.location = headers.location.replace( startsWithSkylinkRegExp,