mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-31 23:59:32 +01:00
[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:
parent
ad3e767d51
commit
206c5b8dc1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user