Change HTTP header from X-Signal-Agent to X-Loki-Messenger-Agent.

pull/3/head
sachaaaaa 7 years ago
parent 4f3b036fee
commit 187424f84a

@ -173,7 +173,7 @@ function _promiseAjax(providedUrl, options) {
const fetchOptions = {
method: options.type,
body: options.data || null,
headers: { 'X-Signal-Agent': 'OWD' },
headers: { 'X-Loki-Messenger-Agent': 'OWD' },
agent,
ca: options.certificateAuthority,
timeout,

Loading…
Cancel
Save