diff options
Diffstat (limited to 'src/api/utils')
-rw-r--r-- | src/api/utils/auth.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/api/utils/auth.js b/src/api/utils/auth.js index 6dbdeaa7f..4dbfcd6d4 100644 --- a/src/api/utils/auth.js +++ b/src/api/utils/auth.js | |||
@@ -8,11 +8,11 @@ export const prepareAuthRequest = (options = { method: 'GET' }, auth = true) => | |||
8 | mode: 'cors', | 8 | mode: 'cors', |
9 | headers: Object.assign({ | 9 | headers: Object.assign({ |
10 | 'Content-Type': 'application/json', | 10 | 'Content-Type': 'application/json', |
11 | 'X-Franz-Source': 'desktop', | 11 | 'X-Ferdi-Source': 'desktop', |
12 | 'X-Franz-Version': app.getVersion(), | 12 | 'X-Ferdi-Version': app.getVersion(), |
13 | 'X-Franz-platform': process.platform, | 13 | 'X-Ferdi-platform': process.platform, |
14 | 'X-Franz-Timezone-Offset': new Date().getTimezoneOffset(), | 14 | 'X-Ferdi-Timezone-Offset': new Date().getTimezoneOffset(), |
15 | 'X-Franz-System-Locale': app.getLocale(), | 15 | 'X-Ferdi-System-Locale': app.getLocale(), |
16 | }, options.headers), | 16 | }, options.headers), |
17 | }); | 17 | }); |
18 | 18 | ||