mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Rename required var to match convention
This commit is contained in:
parent
4e0d930014
commit
fc333067c2
@ -16,10 +16,10 @@ limitations under the License.
|
|||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var Url = require ('url');
|
var url = require ('url');
|
||||||
|
|
||||||
function getServiceUrl() {
|
function getServiceUrl() {
|
||||||
var parsedUrl = Url.parse(window.location.href);
|
var parsedUrl = url.parse(window.location.href);
|
||||||
return parsedUrl.protocol + "//" + parsedUrl.host + parsedUrl.pathname;
|
return parsedUrl.protocol + "//" + parsedUrl.host + parsedUrl.pathname;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user