Prevent double-encoding request

thrimbletrimmer-solid
ElementalAlchemist 2 days ago
parent 3883b3e06f
commit f9b363fce8

@ -146,7 +146,7 @@ const RestreamerWithDefaults: Component<RestreamerDefaultProps> = (props) => {
const downloadVideoURL = () => {
const streamInfo = streamVideoInfo();
const startTime = wubloaderTimeFromDateTime(streamInfo.streamStartTime);
const params = new URLSearchParams({ type: "smart", start: encodeURIComponent(startTime) });
const params = new URLSearchParams({ type: "smart", start: startTime });
if (streamInfo.streamEndTime) {
const endTime = wubloaderTimeFromDateTime(streamInfo.streamEndTime);
params.append("end", endTime);

Loading…
Cancel
Save