Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed May 5, 2023
1 parent 80c8934 commit 728bf14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/next/src/client/app-link-gc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export function linkGc() {
...document.querySelectorAll(
'link[href^="' +
(resource.startsWith(currentOrigin)
? resource.slice(origin.length)
: origin + resource) +
? resource.slice(currentOrigin.length)
: currentOrigin + resource) +
'"]'
),
] as HTMLLinkElement[]
Expand Down

0 comments on commit 728bf14

Please sign in to comment.