mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-20 22:48:06 +00:00
xo: Enable object-curly-spacing.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
e49a880ed6
commit
ba191c3699
@@ -1,4 +1,4 @@
|
||||
import { remote } from 'electron';
|
||||
import {remote} from 'electron';
|
||||
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
@@ -8,7 +8,7 @@ import * as ProxyUtil from './proxy-util';
|
||||
import * as CertificateUtil from './certificate-util';
|
||||
import * as SystemUtil from './system-util';
|
||||
|
||||
const { app } = remote;
|
||||
const {app} = remote;
|
||||
|
||||
const logger = new Logger({
|
||||
file: 'request-util.log',
|
||||
@@ -56,7 +56,7 @@ export function requestOptions(domain: string, ignoreCerts: boolean): RequestUti
|
||||
ca: certificateLocation ? certificateLocation : '',
|
||||
proxy: proxyEnabled ? ProxyUtil.getProxy(domain) : '',
|
||||
ecdhCurve: 'auto',
|
||||
headers: { 'User-Agent': SystemUtil.getUserAgent() },
|
||||
headers: {'User-Agent': SystemUtil.getUserAgent()},
|
||||
rejectUnauthorized: !ignoreCerts
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user