aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers/userAgent-helpers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/userAgent-helpers.ts')
-rw-r--r--src/helpers/userAgent-helpers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/userAgent-helpers.ts b/src/helpers/userAgent-helpers.ts
index 52568555c..c811b34c9 100644
--- a/src/helpers/userAgent-helpers.ts
+++ b/src/helpers/userAgent-helpers.ts
@@ -16,7 +16,7 @@ function macOS() {
16 if (cpuName && /\(/.test(cpuName)) { 16 if (cpuName && /\(/.test(cpuName)) {
17 cpuName = cpuName.split('(')[0]; 17 cpuName = cpuName.split('(')[0];
18 } 18 }
19 return `Macintosh; ${cpuName} Mac OS X ${version.replace(/\./g, '_')}`; 19 return `Macintosh; ${cpuName} Mac OS X ${version.replaceAll('.', '_')}`;
20} 20}
21 21
22function windows() { 22function windows() {