diff options
author | 2022-05-06 00:29:39 +0200 | |
---|---|---|
committer | 2022-05-05 22:29:39 +0000 | |
commit | acb60bf20d3db74e2689f95e23850ce170827969 (patch) | |
tree | 5d6236e235640fe441c3f5451991085e331663c1 /src/helpers/i18n-helpers.ts | |
parent | Rearrange input fields on Settings screen and add labels for organization (#101) (diff) | |
download | ferdium-app-acb60bf20d3db74e2689f95e23850ce170827969.tar.gz ferdium-app-acb60bf20d3db74e2689f95e23850ce170827969.tar.zst ferdium-app-acb60bf20d3db74e2689f95e23850ce170827969.zip |
fix: modify user agent string on Linux (#99)
On Linux, the user agent includes 'X11; Ubuntu; Linux ${arch}'. This
user agent string break the Google Calendar service because the server
decides to serve to mobile site instead of the desktop site based on
that string.
On my non-Ubuntu Linux machine, the UA used is almost identical, except
for the 'Ubuntu; ' part. Removing that part from the default UA we use
fixes that particular error and seems no to break any other services.
Diffstat (limited to 'src/helpers/i18n-helpers.ts')
0 files changed, 0 insertions, 0 deletions