Revert "remove slash on the end 😭"

This reverts commit bd2fa442f6.
This commit is contained in:
Pas 2025-04-13 15:19:12 -06:00
parent a026ed4352
commit 2ca64a6b17

View file

@ -57,11 +57,10 @@ function ProxyEdit({
const changeItem = useCallback( const changeItem = useCallback(
(index: number, val: string) => { (index: number, val: string) => {
const cleanedUrl = val.replace(/\/+$/, "");
setProxyUrls((s) => [ setProxyUrls((s) => [
...(s ?? []).map((v, i) => { ...(s ?? []).map((v, i) => {
if (i !== index) return v; if (i !== index) return v;
return cleanedUrl; return val;
}), }),
]); ]);
}, },