From 8af4256d958356ab81d2a9a8440959a9d53e5920 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Mon, 18 Dec 2023 21:50:30 +0100 Subject: [PATCH] I cant use commas --- src/utils/proxyUrls.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/proxyUrls.ts b/src/utils/proxyUrls.ts index 64c91b34..c967a01c 100644 --- a/src/utils/proxyUrls.ts +++ b/src/utils/proxyUrls.ts @@ -28,7 +28,7 @@ function isParsedUrlType(type: string): type is ParsedUrlType { */ function parseParams(input: string): Record { const entriesParams = input - .split(",") + .split(";") .map((param) => param.split("=", 2).filter((part) => part.length !== 0)) .filter((v) => v.length === 2); return Object.fromEntries(entriesParams);