URL.protocol return with a colon at the end
This commit is contained in:
parent
9a412260f3
commit
a0bf83fbb5
@ -72,7 +72,7 @@ export class HttpLibImpl implements HttpRequestLibrary {
|
||||
`request to origin ${parsedUrl.origin} was throttled`,
|
||||
);
|
||||
}
|
||||
if (!this.allowHttp && parsedUrl.protocol !== "https") {
|
||||
if (!this.allowHttp && parsedUrl.protocol !== "https:") {
|
||||
throw TalerError.fromDetail(
|
||||
TalerErrorCode.WALLET_NETWORK_ERROR,
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user