@equinor/fusion-framework-module-http
Advanced tools
Comparing version 0.1.0-alpha.9 to 0.1.0-alpha.10
@@ -51,5 +51,6 @@ import { firstValueFrom, of, Subject } from 'rxjs'; | ||
_resolveUrl(path) { | ||
return [this.uri, path].join('/'); | ||
const baseUrl = this.uri || window.location.origin; | ||
return new URL(path, baseUrl).href; | ||
} | ||
} | ||
//# sourceMappingURL=client.js.map |
{ | ||
"name": "@equinor/fusion-framework-module-http", | ||
"version": "0.1.0-alpha.9", | ||
"version": "0.1.0-alpha.10", | ||
"description": "", | ||
@@ -24,3 +24,3 @@ "main": "./dist/esm/index.js", | ||
"dependencies": { | ||
"@equinor/fusion-framework-module": "^0.1.0-alpha.9" | ||
"@equinor/fusion-framework-module": "^0.1.0-alpha.10" | ||
}, | ||
@@ -35,3 +35,3 @@ "types": "index.d.ts", | ||
}, | ||
"gitHead": "b12e2a8caae0b987080b7cab2aa09e9423393e54" | ||
"gitHead": "7a8db468f01ac70310a38f529a4e9afc112d39af" | ||
} |
@@ -191,4 +191,5 @@ import { firstValueFrom, Observable, ObservableInput, of, Subject } from 'rxjs'; | ||
protected _resolveUrl(path: string): string { | ||
return [this.uri, path].join('/'); | ||
const baseUrl = this.uri || window.location.origin; | ||
return new URL(path, baseUrl).href; | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88108
681