mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-29 21:54:13 +01:00
fix dashboard route issue
This commit is contained in:
parent
e17a919e5f
commit
f6b9427de5
42
src/ui_ng/proxy.config.json
Normal file
42
src/ui_ng/proxy.config.json
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"/api/*": {
|
||||
"target": "http://10.117.4.165",
|
||||
"secure": false,
|
||||
"logLevel": "debug"
|
||||
},
|
||||
"/service/*": {
|
||||
"target": "http://10.117.4.165",
|
||||
"secure": false,
|
||||
"logLevel": "debug"
|
||||
},
|
||||
"/login": {
|
||||
"target": "http://10.117.4.165",
|
||||
"secure": false,
|
||||
"logLevel": "debug"
|
||||
},
|
||||
"/sign_in": {
|
||||
"target": "http://10.117.4.165",
|
||||
"secure": false,
|
||||
"logLevel": "debug"
|
||||
},
|
||||
"/log_out": {
|
||||
"target": "http://10.117.4.165",
|
||||
"secure": false,
|
||||
"logLevel": "debug"
|
||||
},
|
||||
"/sendEmail": {
|
||||
"target": "http://10.117.4.165",
|
||||
"secure": false,
|
||||
"logLevel": "debug"
|
||||
},
|
||||
"/language": {
|
||||
"target": "http://10.117.4.165",
|
||||
"secure": false,
|
||||
"logLevel": "debug"
|
||||
},
|
||||
"/reset": {
|
||||
"target": "http://10.117.4.165",
|
||||
"secure": false,
|
||||
"logLevel": "debug"
|
||||
}
|
||||
}
|
@ -44,7 +44,7 @@ const harborRoutes: Routes = [
|
||||
children: [
|
||||
{ path: 'sign-in', component: SignInComponent, canActivate: [SignInGuard] },
|
||||
{ path: 'sign-up', component: SignUpComponent },
|
||||
{ path: 'dashboard', component: StartPageComponent },
|
||||
{ path: 'dashboard', component: StartPageComponent, canActivate: [AuthCheckGuard]},
|
||||
{
|
||||
path: 'projects',
|
||||
component: ProjectComponent,
|
||||
|
Loading…
Reference in New Issue
Block a user