Skip to content

Commit ccb7063

Browse files
committed
fix setup
1 parent d5a7018 commit ccb7063

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

carrental-web/src/angular/carrental/proxy.conf.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"/": {
2+
"/rest": {
33
"target": "http://localhost:8080/carrental-web",
44
"secure": false
55
}

carrental-web/src/angular/carrental/src/app/app-routing.module.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ import { CrrootComponent } from './crroot/crroot.component';
2222

2323
const routes: Routes = [
2424
{path: 'crdetail/mietenr/:mnr/jahr/:jahr', component: CrdetailComponent},
25-
{path: 'crlist/mietenr/:mnr', component: CrlistComponent},
26-
{path: '**', component: CrrootComponent}
25+
{path: 'crlist/mietenr/:mnr', component: CrlistComponent},
26+
{path: 'crroot', component: CrrootComponent},
27+
{path: '', redirectTo: '/crroot', pathMatch: 'full'},
2728
];
2829

2930
@NgModule({

0 commit comments

Comments
 (0)