commit a0bf83fbb5db026389cc7d203adcff050d5a1b28 parent 9a412260f3b0a53b1508e2db8724a0c58ce080cf Author: Sebastian <sebasjm@gmail.com> Date: Fri, 5 May 2023 13:20:27 -0300 URL.protocol return with a colon at the end Diffstat:
| M | packages/taler-util/src/http-impl.qtart.ts | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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, {