Skip to content

Commit

Permalink
page url should not include the host
Browse files Browse the repository at this point in the history
  • Loading branch information
joetannenbaum committed Oct 14, 2024
1 parent 88a765b commit fa37194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export class Response {

setHashIfSameUrl(this.requestParams.all().url, responseUrl)

return responseUrl.href
return responseUrl.href.split(responseUrl.host).pop()
}

protected mergeProps(pageResponse: Page): void {
Expand Down

0 comments on commit fa37194

Please sign in to comment.