Skip to content

Commit

Permalink
doh
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Dec 5, 2022
1 parent 06f4674 commit d518c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/router/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ export function createClientSideURL(location: Location | string): URL {
base,
`No window.location.(origin|href) available to create URL for href: ${href}`
);
return new URL(href, window.location.origin);
return new URL(href, base);
}

export interface UrlHistory extends History {}
Expand Down

0 comments on commit d518c72

Please sign in to comment.