Skip to content

Commit

Permalink
fix(visit): will render false for action 'replace' after redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
blrB committed Jan 20, 2022
1 parent 201f8b3 commit 6ba1181
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/drive/visit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ export class Visit implements FetchRequestDelegate {
if (this.redirectedToLocation && !this.followedRedirect && this.response?.redirected) {
this.adapter.visitProposedToLocation(this.redirectedToLocation, {
action: 'replace',
willRender: false,
response: this.response
})
this.followedRedirect = true
Expand Down

0 comments on commit 6ba1181

Please sign in to comment.