summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/http-impl.qtart.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-util/src/http-impl.qtart.ts')
-rw-r--r--packages/taler-util/src/http-impl.qtart.ts2
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,
{