[Cherry-pick]Add new uri path to ShouldNotReuseRoute array (#19219)

Add new uri path to ShouldNotReuseRoute array
1.Fixes #19216

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
Shijun Sun 2023-08-21 18:54:58 +08:00 committed by GitHub
parent ad3e767d51
commit 206c5b8dc1
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) {