X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bpage-not-found%2Fpage-not-found-routing.module.ts;h=e3407099da25c5ed4eed753915f3febffd0ccd70;hb=61b20252a087e6403b34ef9bdc4fe6fb05936dfb;hp=43f7d733715322e15e0c0566ab43c15eb84ece61;hpb=a51bad1accfade25916db0dadaeb879a182cf19b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+page-not-found/page-not-found-routing.module.ts b/client/src/app/+page-not-found/page-not-found-routing.module.ts index 43f7d7337..e3407099d 100644 --- a/client/src/app/+page-not-found/page-not-found-routing.module.ts +++ b/client/src/app/+page-not-found/page-not-found-routing.module.ts @@ -1,11 +1,18 @@ import { NgModule } from '@angular/core' import { RouterModule, Routes } from '@angular/router' import { PageNotFoundComponent } from './page-not-found.component' +import { MetaGuard } from '@ngx-meta/core' const pageNotFoundRoutes: Routes = [ { path: '', component: PageNotFoundComponent, + canActivate: [ MetaGuard ], + data: { + meta: { + title: 'Not found' + } + } } ]