diff options
author | Sebastian <sebasjm@gmail.com> | 2023-05-05 13:20:27 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-05-05 13:20:48 -0300 |
commit | a0bf83fbb5db026389cc7d203adcff050d5a1b28 (patch) | |
tree | 8d8127584ed2377d4fd90d6a76417c407cfdc9af /packages | |
parent | 9a412260f3b0a53b1508e2db8724a0c58ce080cf (diff) |
URL.protocol return with a colon at the end
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-util/src/http-impl.qtart.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-util/src/http-impl.qtart.ts b/packages/taler-util/src/http-impl.qtart.ts index 3a963b35a..3e076e96d 100644 --- a/packages/taler-util/src/http-impl.qtart.ts +++ b/packages/taler-util/src/http-impl.qtart.ts @@ -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, { |