Skip to content

Commit

Permalink
[Cherry-pick]Add new uri path to ShouldNotReuseRoute array (#19218)
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 <sshijun@vmware.com>
  • Loading branch information
AllForNothing authored Aug 21, 2023
1 parent 0507655 commit 90e526e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export enum RouteConfigId {
const ShouldNotReuseRouteRegExps: RegExp[] = [
/\/harbor\/projects\/(\d+)\/repositories$/,
/\/harbor\/projects\/(\d+)\/repositories\/(\S+)\/artifacts-tab$/,
/\/harbor\/projects\/(\d+)\/repositories\/(\S+)\/artifacts-tab\/depth\/(\S+)$/,
];

function testRoute(url: string) {
Expand Down

0 comments on commit 90e526e

Please sign in to comment.