pi -hole Steuerung über REST API

This commit is contained in:
2026-06-29 13:00:48 +02:00
parent ff97a434a9
commit 3d670b4839
37 changed files with 1672 additions and 8 deletions
@@ -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 { }