Skip to content

Commit fa37194

Browse files
committed
page url should not include the host
1 parent 88a765b commit fa37194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/response.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export class Response {
233233

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

236-
return responseUrl.href
236+
return responseUrl.href.split(responseUrl.host).pop()
237237
}
238238

239239
protected mergeProps(pageResponse: Page): void {

0 commit comments

Comments
 (0)