mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Use 127.0.0.1 instead of localhost for vault's http requests. (Fix https://github.com/btcpayserver/BTCPayServer.Vault/issues/9#issuecomment-559858955)
This commit is contained in:
parent
fa61c2bcdd
commit
b8288f1efa
@ -35,7 +35,7 @@
|
||||
}
|
||||
};
|
||||
request.overrideMimeType("text/plain");
|
||||
request.open('POST', 'http://localhost:65092/hwi-bridge/v1');
|
||||
request.open('POST', 'http://127.0.0.1:65092/hwi-bridge/v1');
|
||||
request.send(JSON.stringify(jsonObject));
|
||||
}
|
||||
else {
|
||||
@ -87,7 +87,7 @@
|
||||
}
|
||||
};
|
||||
request.overrideMimeType("text/plain");
|
||||
request.open('GET', 'http://localhost:65092/hwi-bridge/v1/request-permission');
|
||||
request.open('GET', 'http://127.0.0.1:65092/hwi-bridge/v1/request-permission');
|
||||
request.send();
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user