From 233b03ba6fb4de2da06ef78227c4b2a8c7a95c74 Mon Sep 17 00:00:00 2001 From: Jonathan Baecker Date: Thu, 30 Apr 2020 17:23:59 +0200 Subject: [PATCH] add nuxt user agent --- ffplayout/frontend/nuxt.config.js | 3 ++- ffplayout/frontend/package-lock.json | 13 +++++++++++++ ffplayout/frontend/package.json | 1 + 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ffplayout/frontend/nuxt.config.js b/ffplayout/frontend/nuxt.config.js index cdb6fe1d..4ef1be03 100644 --- a/ffplayout/frontend/nuxt.config.js +++ b/ffplayout/frontend/nuxt.config.js @@ -69,7 +69,8 @@ export default { // Doc: https://github.com/nuxt-community/dotenv-module '@nuxtjs/dotenv', 'cookie-universal-nuxt', - 'nuxt-dayjs-module' + 'nuxt-dayjs-module', + 'nuxt-user-agent' ], /* diff --git a/ffplayout/frontend/package-lock.json b/ffplayout/frontend/package-lock.json index 3afd7ff4..29b409b5 100644 --- a/ffplayout/frontend/package-lock.json +++ b/ffplayout/frontend/package-lock.json @@ -8578,6 +8578,14 @@ "dayjs": "^1.8.9" } }, + "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" + } + }, "oauth-sign": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", @@ -13070,6 +13078,11 @@ } } }, + "woothee": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/woothee/-/woothee-1.11.0.tgz", + "integrity": "sha512-3xCoZEpXujyJwmo2KzcJYjAMJZCvGsL4jGrjJNUBI1jhryVDzduqr808Wgk6ZkFTCINApZJUONWILJB9tiDEFg==" + }, "word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", diff --git a/ffplayout/frontend/package.json b/ffplayout/frontend/package.json index 4a1685cd..ebdf999a 100644 --- a/ffplayout/frontend/package.json +++ b/ffplayout/frontend/package.json @@ -20,6 +20,7 @@ "jwt-decode": "^2.2.0", "nuxt": "^2.12.2", "nuxt-dayjs-module": "^1.1.2", + "nuxt-user-agent": "^1.2.2", "splitpanes": "^2.2.1", "video.js": "^7.7.5", "vue-loading-overlay": "^3.3.2",