import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/index'
import four from '@/components/four'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'github',
      component: index,
      meta: {
        title: 'Linux Kernel CVE Tracker'
      }
    },
    {
      path: '/streams/:stream_id',
      name: 'stream',
      component: () => import('@/components/stream')
    },
    {
      path: '/cves',
      name: 'cves',
      component: () => import('@/components/cves')
    },
    {
      path: '/cves/:cve_id',
      name: 'cve',
      component: () => import('@/components/cve')
    },
    {
      path: '/404',
      name: 'four',
      component: four
    },
    {
      path: '*',
      redirect: '/404'
    }
  ]
})

@@ -271,73 +271,8 @@
 ndex
-,%0A      meta: %7B%0A        title: 'Linux Kernel CVE Tracker'%0A      %7D
 %0A   

remove title tag