diff --git a/ClientApp/components/fetch-data/fetch-data.html b/ClientApp/components/fetch-data/fetch-data.html
index 8d24e71..308df58 100644
--- a/ClientApp/components/fetch-data/fetch-data.html
+++ b/ClientApp/components/fetch-data/fetch-data.html
@@ -18,7 +18,7 @@
Weather forecast
{{ forecast.dateFormatted }} |
{{ forecast.temperatureC }} |
{{ forecast.temperatureF }} |
- {{ forecast.summary }} |
+ {{ test.summary }} |
diff --git a/ClientApp/routes.ts b/ClientApp/routes.ts
index c0a45b7..5c3f1a7 100644
--- a/ClientApp/routes.ts
+++ b/ClientApp/routes.ts
@@ -4,9 +4,9 @@ import { FetchData } from './components/fetch-data/fetch-data';
import { Counter } from './components/counter/counter';
export const routes: RouterConfig = [
- { path: '', redirectTo: 'home', pathMatch: 'full' },
+ { path: '', redirectTo: 'fetch-data', pathMatch: 'full' },
+ { path: 'fetch-data', component: FetchData },
{ path: 'home', component: Home },
{ path: 'counter', component: Counter },
- { path: 'fetch-data', component: FetchData },
- { path: '**', redirectTo: 'home' }
+ { path: '**', redirectTo: 'fetch-data' }
];