mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-27 13:02:59 +02:00
Add new uri path to ShouldNotReuseRoute array (#19217)
1.Fixes #19216 Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
927e7f92a2
commit
444404f7f4
@ -24,6 +24,7 @@ export enum RouteConfigId {
|
|||||||
const ShouldNotReuseRouteRegExps: RegExp[] = [
|
const ShouldNotReuseRouteRegExps: RegExp[] = [
|
||||||
/\/harbor\/projects\/(\d+)\/repositories$/,
|
/\/harbor\/projects\/(\d+)\/repositories$/,
|
||||||
/\/harbor\/projects\/(\d+)\/repositories\/(\S+)\/artifacts-tab$/,
|
/\/harbor\/projects\/(\d+)\/repositories\/(\S+)\/artifacts-tab$/,
|
||||||
|
/\/harbor\/projects\/(\d+)\/repositories\/(\S+)\/artifacts-tab\/depth\/(\S+)$/,
|
||||||
];
|
];
|
||||||
|
|
||||||
function testRoute(url: string) {
|
function testRoute(url: string) {
|
||||||
|
Loading…
Reference in New Issue
Block a user