Skip to content

Commit

Permalink
[Cherry-pick]Add new uri path to ShouldNotReuseRoute array (#19220)
Browse files Browse the repository at this point in the history
Add new uri path to ShouldNotReuseRoute array
1.Fixes #19216

Signed-off-by: AllForNothing <[email protected]>
  • Loading branch information
AllForNothing authored Aug 21, 2023
1 parent a324b2d commit d69572d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const ShouldNotReuseRouteRegExps: RegExp[] = [
/\/harbor\/projects\/(\d+)\/repositories$/,
/\/harbor\/projects\/(\d+)\/repositories\/(\S+)\/artifacts-tab$/,
/\/harbor\/projects\/(\d+)\/helm-charts\/(\S+)\/versions\/(\S+)/,
/\/harbor\/projects\/(\d+)\/repositories\/(\S+)\/artifacts-tab\/depth\/(\S+)$/,
];

function testRoute(url: string) {
Expand Down

0 comments on commit d69572d

Please sign in to comment.