Skip to content

Commit

Permalink
hapi18 url compatibility - closes #88
Browse files Browse the repository at this point in the history
  • Loading branch information
spanditcaa committed Mar 21, 2019
1 parent 905e527 commit 246ddbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ internals.mapUri = function (protocol, host, port, uri) {
let address = uri.replace(/{protocol}/g, request.server.info.protocol)
.replace(/{host}/g, request.server.info.host)
.replace(/{port}/g, request.server.info.port)
.replace(/{path}/g, request.url.path);
.replace(/{path}/g, request.path);

Object.keys(request.params).forEach((key) => {

Expand Down

0 comments on commit 246ddbd

Please sign in to comment.