mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
Merge pull request #1594 from vmware/feature/merge_ui_code_to_fix_issues
fix dashboard route issue
This commit is contained in:
commit
d7327a70d2
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