diff options
author | Amine Mouafik <amine@mouafik.fr> | 2020-04-19 16:40:55 +0000 |
---|---|---|
committer | Amine Mouafik <amine@mouafik.fr> | 2020-04-19 16:40:55 +0000 |
commit | 554a9af6b5248d0ec66264c1c0c51e3f26f47642 (patch) | |
tree | 5b78ae5167579a1dc5c8209cb0e957bb7916418e /uncompressed/msteams/index.js | |
parent | Remove svg size check preventing repackaging (diff) | |
download | ferdium-recipes-554a9af6b5248d0ec66264c1c0c51e3f26f47642.tar.gz ferdium-recipes-554a9af6b5248d0ec66264c1c0c51e3f26f47642.tar.zst ferdium-recipes-554a9af6b5248d0ec66264c1c0c51e3f26f47642.zip |
Fix user agents override and bump minor versions
Diffstat (limited to 'uncompressed/msteams/index.js')
-rw-r--r-- | uncompressed/msteams/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uncompressed/msteams/index.js b/uncompressed/msteams/index.js index 0afc5c9..b85bf33 100644 --- a/uncompressed/msteams/index.js +++ b/uncompressed/msteams/index.js | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | module.exports = Franz => class MicrosoftTeams extends Franz { | 3 | module.exports = Franz => class MicrosoftTeams extends Franz { |
4 | overrideUserAgent() { | 4 | overrideUserAgent() { |
5 | return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, '').replace(/(Chrome\/)([^ ]*)/g, '$163.0.3239.84'); | 5 | return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').replace(/(Chrome\/)([^ ]*)/g, '$163.0.3239.84'); |
6 | } | 6 | } |
7 | 7 | ||
8 | }; \ No newline at end of file | 8 | }; \ No newline at end of file |