diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-14 14:13:23 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-01-15 10:49:10 +0100 |
commit | d43c6b1ffc5e6c895f9e9f9de6625f17a9755c20 (patch) | |
tree | 6bdcbe9893574e0b5a41c4854c7f986f346ba761 /client/src/app/app-routing.module.ts | |
parent | b0a9743af0273835cdf594431a774c0f7d46b539 (diff) | |
download | PeerTube-d43c6b1ffc5e6c895f9e9f9de6625f17a9755c20.tar.gz PeerTube-d43c6b1ffc5e6c895f9e9f9de6625f17a9755c20.tar.zst PeerTube-d43c6b1ffc5e6c895f9e9f9de6625f17a9755c20.zip |
Implement remote interaction
Diffstat (limited to 'client/src/app/app-routing.module.ts')
-rw-r--r-- | client/src/app/app-routing.module.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/app-routing.module.ts b/client/src/app/app-routing.module.ts index bcae29c9a..7a55a7b8d 100644 --- a/client/src/app/app-routing.module.ts +++ b/client/src/app/app-routing.module.ts | |||
@@ -2,9 +2,9 @@ import { NgModule } from '@angular/core' | |||
2 | import { RouteReuseStrategy, RouterModule, Routes } from '@angular/router' | 2 | import { RouteReuseStrategy, RouterModule, Routes } from '@angular/router' |
3 | import { CustomReuseStrategy } from '@app/core/routing/custom-reuse-strategy' | 3 | import { CustomReuseStrategy } from '@app/core/routing/custom-reuse-strategy' |
4 | import { MenuGuards } from '@app/core/routing/menu-guard.service' | 4 | import { MenuGuards } from '@app/core/routing/menu-guard.service' |
5 | import { POSSIBLE_LOCALES } from '@shared/core-utils/i18n' | ||
5 | import { PreloadSelectedModulesList } from './core' | 6 | import { PreloadSelectedModulesList } from './core' |
6 | import { EmptyComponent } from './empty.component' | 7 | import { EmptyComponent } from './empty.component' |
7 | import { POSSIBLE_LOCALES } from '@shared/core-utils/i18n' | ||
8 | 8 | ||
9 | const routes: Routes = [ | 9 | const routes: Routes = [ |
10 | { | 10 | { |
@@ -58,6 +58,10 @@ const routes: Routes = [ | |||
58 | loadChildren: () => import('./+videos/videos.module').then(m => m.VideosModule) | 58 | loadChildren: () => import('./+videos/videos.module').then(m => m.VideosModule) |
59 | }, | 59 | }, |
60 | { | 60 | { |
61 | path: 'remote-interaction', | ||
62 | loadChildren: () => import('./+remote-interaction/remote-interaction.module').then(m => m.RemoteInteractionModule) | ||
63 | }, | ||
64 | { | ||
61 | path: '', | 65 | path: '', |
62 | component: EmptyComponent // Avoid 404, app component will redirect dynamically | 66 | component: EmptyComponent // Avoid 404, app component will redirect dynamically |
63 | } | 67 | } |