mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
server-esm: Normalize quotes in require imports
This commit is contained in:
@@ -202,8 +202,8 @@ function getProxyAgent(opts: ClientOpts) {
|
||||
}
|
||||
|
||||
const AgentClass = HTTP === protocol
|
||||
? require("http-proxy-agent").HttpProxyAgent
|
||||
: require("https-proxy-agent").HttpsProxyAgent;
|
||||
? require('http-proxy-agent').HttpProxyAgent
|
||||
: require('https-proxy-agent').HttpsProxyAgent;
|
||||
|
||||
return new AgentClass(opts.proxy);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user