Add new uri path to ShouldNotReuseRoute array (#19217)

1.Fixes #19216

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
Shijun Sun 2023-08-21 18:54:44 +08:00 committed by GitHub
parent 927e7f92a2
commit 444404f7f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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) {