import { CustomReuseStrategy } from '@app/core/routing/custom-reuse-strategy'
import { MenuGuards } from '@app/core/routing/menu-guard.service'
import { POSSIBLE_LOCALES } from '@shared/core-utils/i18n'
- import { PreloadSelectedModulesList } from './core'
+ import { MetaGuard, PreloadSelectedModulesList } from './core'
import { EmptyComponent } from './empty.component'
+import { RootComponent } from './root.component'
const routes: Routes = [
{
},
{
path: 'verify-account',
- loadChildren: () => import('./+signup/+verify-account/verify-account.module').then(m => m.VerifyAccountModule)
+ loadChildren: () => import('./+signup/+verify-account/verify-account.module').then(m => m.VerifyAccountModule),
+ canActivateChild: [ MetaGuard ]
},
{
- path: 'accounts',
+ path: 'a',
- loadChildren: () => import('./+accounts/accounts.module').then(m => m.AccountsModule)
+ loadChildren: () => import('./+accounts/accounts.module').then(m => m.AccountsModule),
+ canActivateChild: [ MetaGuard ]
},
{
- path: 'video-channels',
+ path: 'c',
- loadChildren: () => import('./+video-channels/video-channels.module').then(m => m.VideoChannelsModule)
+ loadChildren: () => import('./+video-channels/video-channels.module').then(m => m.VideoChannelsModule),
+ canActivateChild: [ MetaGuard ]
},
{
path: 'about',
+export * from './actors/actors'
export * from './bulk/bulk'
+
export * from './cli/cli'
+
+ export * from './custom-pages/custom-pages'
+
export * from './feeds/feeds'
+
export * from './mock-servers/mock-instances-index'
- export * from './miscs/miscs'
+
+ export * from './miscs/email'
export * from './miscs/sql'
+ export * from './miscs/miscs'
export * from './miscs/stubs'
+
export * from './moderation/abuses'
export * from './plugins/mock-blocklist'
+
export * from './requests/check-api-params'
export * from './requests/requests'
+
export * from './search/videos'
+
export * from './server/activitypub'
export * from './server/clients'
export * from './server/config'