1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-02 12:47:41 +02:00
This commit is contained in:
Joybin Chen 2018-11-14 06:37:39 +08:00 committed by Laurent Cozic
parent b30c65dd89
commit 7a4c7a13eb

View File

@ -238,7 +238,7 @@ function shimInit() {
host: url.hostname,
port: url.port,
method: method,
path: url.path + (url.query ? '?' + url.query : ''),
path: url.pathname + (url.query ? '?' + url.query : ''),
headers: headers,
};
@ -316,4 +316,4 @@ function shimInit() {
}
module.exports = { shimInit };
module.exports = { shimInit };