This commit is contained in:
Homa Wong 2018-08-22 13:48:30 -07:00
parent beed140297
commit 9acfaaf1b7

View File

@ -68,7 +68,7 @@ export class SpecManager {
init() {
let urlParts = this.specUrl ? urlParse(urlResolve(window.location.href, this.specUrl)) : {
protocol: window.location.protocol,
host: window.locatin.host
host: window.location.host
};
let schemes = this._schema.schemes;
let protocol;