text: const axios = require('axios');
  
  export default {
    // Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode
    ssr: false,
  
    // Target: https://go.nuxtjs.dev/config-target
    target: 'static',
  
    // Global page headers: https://go.nuxtjs.dev/config-head
    head: {
      title: 'Download and stream movie on vidfye for free | vidifye',
      meta: [
        { charset: 'utf-8' },
        { name:"google-site-verification", content:"pItDoXbhsDNg_ZKMK22e7Pq8LZ4qYlW9RVHm01k7WA4"},
        { name: 'viewport', content: 'width=device-width, initial-scale=1' },
        { hid: 'description', name: 'description', content: 'Vidfye is a streaming service that offers a wide variety of award-winning TV shows, movies, anime, documentaries, and more on thousands of movie. Download and stream movies for free on vidfye.' },
        { name: 'format-detection', content: 'telephone=no' },
        { hid: "twitter:card", name: "twitter:card",  content:"Vidfye is a streaming service that offers a wide variety of award-winning TV shows, movies, anime, documentaries, and more on thousands of movie - vidfye" },
        { hid: "twitter:creator", name: "twitter:creator", content: "@audifye"},
        { hid: "twitter:image", name: "twitter:image", content:"/favicon.ico", },
        { hid: "og:title", name: "og:title",  content: `Vidfye is a streaming service that offers a wide variety of award-winning TV shows, movies, anime, documentaries, and more on thousands of movie. -vidfye`},
        { hid: "og:locale", name:"og:locale", content:"en_US"},
        { hid: "og:type", name: "og:type", content: "website"},
        { hid: "og:url", name: "og:url", content: "https://vidfye.web.app"},
        { hid: "og:image", name: "og:image", content:"/favicon.ico"},
        { hid: "og:site_name", name: "og:site_name", content: "Vidfye"},
        { hid:"keywords", name:"keywords", content:"vidfye, vidfye download, download film drama korea , apps for korean drama, all hollywood movies download, 9ja movies download,365 movie download, vidfye stream, vidfye video, vidfye free download, vidifye download korean movie, vidfye action movies, vidifye action adventure, movie, movies, share, tv, vidifye download anime, vidifye download documentaries, nkiri shows, nkiri series"},
      ],
      link: [
        { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
        { rel: 'canonical', href:"https://vidfye.web.app"},
      ],
      script: [
        {"data-ad-client":"ca-pub-9086895456934437", "async":true, "src":"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"},
        {defer:true, type:'text/javascript', src:'//auditioningouncesufficiently.com/c4/14/14/c41414062eeb97dfdfa3d09026779f0b.js'},
        {defer:true, type:"text/javascript", src:"/static/js/propeller.js"},
        {type:"text/javascript", src:"//inpage-push.com/400/4487222", "data-cfasync":false, "async":true},
        {"async":true, "data-cfasync":false, src:"//upgulpinon.com/1?z=4487224"}
      ]
    },
  
    // Global CSS: https://go.nuxtjs.dev/config-css
    css: [
      '~/static/css/fonts.css',
      '~/static/css/index.css',
    ],
  
    // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
    plugins: [
    
    ],
  
    // Auto import components: https://go.nuxtjs.dev/config-components
    components: true,
  
    // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
    buildModules: [
      // https://go.nuxtjs.dev/stylelint
      '@nuxtjs/stylelint-module',
    ],
  
    // Modules: https://go.nuxtjs.dev/config-modules
    modules: [
      // https://go.nuxtjs.dev/bootstrap
      'bootstrap-vue/nuxt',
      // https://go.nuxtjs.dev/axios
      '@nuxtjs/axios',
      // https://go.nuxtjs.dev/pwa
      '@nuxtjs/pwa',
      // https://go.nuxtjs.dev/content
      '@nuxt/content',
      // https://go.nuxtjs.dev/sitemap
      '@nuxtjs/sitemap',
      [
        '@nuxtjs/firebase',
        {
          config: {
            apiKey: "AIzaSyDMu6rAVUR_sBv5flcPz6Nc-8npVDbb48g",
            authDomain: "vidifye-40c76.firebaseapp.com",
            projectId: "vidifye-40c76",
            storageBucket: "vidifye-40c76.appspot.com",
            messagingSenderId: "277131193818",
            appId: "1:277131193818:web:c3581f8ed59d9ca3ea24e3",
            measurementId: "G-YC5TB92PEY"
          },
          services: {
            analytics: {
              collectionEnabled: true
            }
          }
        }
      ]
    ],
  
    // Axios module configuration: https://go.nuxtjs.dev/config-axios
    axios: {},
  
    // PWA module configuration: https://go.nuxtjs.dev/pwa
    pwa: {
      manifest: {
        lang: 'en',
        name:"Vidfye",
        short_name:"Vidfye",
        mobileAppIos:true,
        theme_color:"#ffffff",
      },
      meta:[
        { hid: 'description', name: 'description', content: 'Vidfye is a streaming service that offers a wide variety of award-winning TV shows, movies, anime, documentaries, and more on thousands of movie. Download and stream movies for free on vidfye.' },
        { name: 'format-detection', content: 'telephone=no' },
        { hid: "twitter:card", name: "twitter:card",  content:"Vidfye is a streaming service that offers a wide variety of award-winning TV shows, movies, anime, documentaries, and more on thousands of movie - vidfye" },
        { hid: "twitter:creator", name: "twitter:creator", content: "@audifye"},
        { hid: "twitter:image", name: "twitter:image", content:"/favicon.ico", },
        { hid: "og:title", name: "og:title",  content: `Vidfye is a streaming service that offers a wide variety of award-winning TV shows, movies, anime, documentaries, and more on thousands of movie. -vidfye`},
        { hid: "og:locale", name:"og:locale", content:"en_US"},
        { hid: "og:type", name: "og:type", content: "website"},
        { hid: "og:url", name: "og:url", content: "https://vidfye.web.app"},
        { hid: "og:image", name: "og:image", content:"/favicon.ico"},
        { hid: "og:site_name", name: "og:site_name", content: "Vidfye"},
        { hid: 'og:description', name: 'og:description', content: 'Vidfye is a streaming service that offers a wide variety of award-winning TV shows, movies, anime, documentaries, and more on thousands of movie. Download and stream movies for free on vidfye.' },
        { hid:"keywords", name:"keywords", content:"vidfye, vidfye download, download film drama korea , apps for korean drama, all hollywood movies download, 9ja movies download,365 movie download, vidfye stream, vidfye video, vidfye free download, vidifye download korean movie, vidfye action movies, vidifye action adventure, movie, movies, share, tv, vidifye download anime, vidifye download documentaries, nkiri shows, nkiri series"},
      ]
    },
    
    oneSignal: {
      init: {
        appId: '967cee31-819b-4d5e-9f2c-1212abf43ec0',
        allowLocalhostAsSecureOrigin: true,
        welcomeNotification: {
          disable: false
        }
      }
    },
  
    // sitemap module configuration: https://go.nuxtjs.dev/sitemap
    sitemap: {
      hostname: 'https://vidfye.web.app',
      gzip: true,
      exclude:[
        "/movie/*",
      ],
      routes: async()=>{
        const {results} = await axios(`https://vidfye.herokuapp.com/model/?type=get-genre`).then(r => r.data);
        return results.map((genre) => `/sort/${genre}`);
      },
      defaults: {
        changefreq: 'daily',
        priority: 1,
        lastmod: new Date()
      },
      path: '/sitemap.xml'
    },
    
    // Content module configuration: https://go.nuxtjs.dev/config-content
    content: {},
  
    // Build Configuration: https://go.nuxtjs.dev/config-build
    build: {
    }
  }
  