We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95443d6 + 40178c3 commit fce4a32Copy full SHA for fce4a32
index.js
@@ -24,7 +24,7 @@ module.exports = async function (fastify, opts) {
24
fastify.all('/*', { beforeHandler }, reply)
25
26
function reply (request, reply) {
27
- var dest = request.raw.url.replace(this.basePath, '')
+ var dest = request.req.url.replace(this.basePath, '')
28
reply.from(dest)
29
}
30
0 commit comments