fix(routing): remove enableTracing option from RouterModule configuration

This commit is contained in:
4gray committed 2025-03-01 14:22:32 +01:00
1 parent a43d43782a
commit 01bbf396a9
1 file changed
+2 -1
+2 -1
View File
@@ -2,6 +2,7 @@ import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { isTauri } from '@tauri-apps/api/core';
import { xtreamRoutes } from './xtream-tauri/xtream.routes';
import { AppConfig } from '../environments/environment';
const routes: Routes = [
{
@@ -64,7 +65,7 @@ const routes: Routes = [
@NgModule({
imports: [
RouterModule.forRoot(routes, {
enableTracing: true,
enableTracing: !AppConfig.production,
}),
],
exports: [RouterModule],