]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+page-not-found/page-not-found-routing.module.ts
Add Nginx configuration to redirect videos to an s3 bucket
[github/Chocobozzz/PeerTube.git] / client / src / app / +page-not-found / page-not-found-routing.module.ts
index 306d2d54d845c02139d990bc686cef151b7f148b..e3407099da25c5ed4eed753915f3febffd0ccd70 100644 (file)
@@ -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
+    component: PageNotFoundComponent,
+    canActivate: [ MetaGuard ],
+    data: {
+      meta: {
+        title: 'Not found'
+      }
+    }
   }
 ]