Always use https when contacting homeserver

Fixes #106
This commit is contained in:
turt2live 2017-09-08 20:31:56 -06:00
parent 7cae74ebe8
commit ab4d5ac76d

View File

@ -37,7 +37,7 @@ class MatrixLiteClient {
log.warn("MatrixLiteClient", "Failed to lookup SRV for " + this._openId.matrix_server_name + " - assuming none available.");
log.warn("MatrixLiteClient", err);
}).then(() => {
var url = "http://" + this._openId.matrix_server_name + endpoint;
var url = "https://" + this._openId.matrix_server_name + endpoint;
log.verbose("MatrixLiteClient", "Performing request: " + url);