diff --git a/Website/nuxt.config.js b/Website/nuxt.config.js index b3fc675..e1b77b6 100644 --- a/Website/nuxt.config.js +++ b/Website/nuxt.config.js @@ -31,12 +31,14 @@ export default { apiUrl: "https://returnyoutubedislikeapi.com", }, + //server: { host: '0.0.0.0' }, //LINE FOR DEBUGGING ONLY + target: "static", css: [], plugins: [], components: true, - buildModules: ["@nuxtjs/vuetify", '@nuxtjs/device'], - modules: [], + buildModules: ["@nuxtjs/vuetify"], + modules: ['nuxt-user-agent'], // Vuetify module configuration: https://go.nuxtjs.dev/config-vuetify vuetify: { diff --git a/Website/package-lock.json b/Website/package-lock.json index 4d2a3e1..3dca403 100644 --- a/Website/package-lock.json +++ b/Website/package-lock.json @@ -10,6 +10,7 @@ "dependencies": { "core-js": "^3.15.1", "nuxt": "^2.15.7", + "nuxt-user-agent": "^1.2.2", "vuetify": "^2.5.5" }, "devDependencies": { @@ -8930,6 +8931,14 @@ "nuxt": "bin/nuxt.js" } }, + "node_modules/nuxt-user-agent": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/nuxt-user-agent/-/nuxt-user-agent-1.2.2.tgz", + "integrity": "sha512-Z9d+r1/PzJAvrr4rX70IWvRyI3qw3RukAGrRZPZ9WeByuCWmVKiW8G1AhdkUOyrDrVoBUC59iLqIVkop/NjSuQ==", + "dependencies": { + "woothee": "^1.8.1" + } + }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -14564,6 +14573,11 @@ "node": ">=8" } }, + "node_modules/woothee": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/woothee/-/woothee-1.11.1.tgz", + "integrity": "sha512-KdArM3MsNa5tlSBSL29w9ouy9MXZoFPeUdPVnL4QZH3iyV8HsqnwbWw2YLiXEx2wAh0bM55dnl0+qDE6KHBlhQ==" + }, "node_modules/word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", @@ -21537,6 +21551,14 @@ "@nuxt/webpack": "2.15.8" } }, + "nuxt-user-agent": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/nuxt-user-agent/-/nuxt-user-agent-1.2.2.tgz", + "integrity": "sha512-Z9d+r1/PzJAvrr4rX70IWvRyI3qw3RukAGrRZPZ9WeByuCWmVKiW8G1AhdkUOyrDrVoBUC59iLqIVkop/NjSuQ==", + "requires": { + "woothee": "^1.8.1" + } + }, "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -25950,6 +25972,11 @@ "string-width": "^4.0.0" } }, + "woothee": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/woothee/-/woothee-1.11.1.tgz", + "integrity": "sha512-KdArM3MsNa5tlSBSL29w9ouy9MXZoFPeUdPVnL4QZH3iyV8HsqnwbWw2YLiXEx2wAh0bM55dnl0+qDE6KHBlhQ==" + }, "word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", diff --git a/Website/package.json b/Website/package.json index 3fe652e..03b6ce9 100644 --- a/Website/package.json +++ b/Website/package.json @@ -12,10 +12,10 @@ "dependencies": { "core-js": "^3.15.1", "nuxt": "^2.15.7", + "nuxt-user-agent": "^1.2.2", "vuetify": "^2.5.5" }, "devDependencies": { - "@nuxtjs/device": "^2.1.0", "@nuxtjs/vuetify": "^1.12.1", "babel-eslint": "^10.1.0", "eslint": "^7.32.0", diff --git a/Website/pages/debug.vue b/Website/pages/debug.vue new file mode 100644 index 0000000..6876c57 --- /dev/null +++ b/Website/pages/debug.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file