pi -hole Steuerung über REST API
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { LinksComponent } from './links/links.component';
|
||||
import { TasmotaControlComponent } from './tasmota-control/tasmota-control.component';
|
||||
import { PiholeControlComponent } from './pihole-control/pihole-control.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: '', redirectTo: '/list-links', pathMatch: 'full'},
|
||||
{ path: 'list-links', component:LinksComponent },
|
||||
{ path: 'steckdosen', component:TasmotaControlComponent},
|
||||
{ path: 'pihole', component:PiholeControlComponent}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forRoot(routes, {useHash: true})],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class AppRoutingModule { }
|
||||
Reference in New Issue
Block a user