Skip to content

Commit c07c4f3

Browse files
committed
Fix wsp
1 parent 385e465 commit c07c4f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/getMediaURI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ const getMediaURI = (type, id, callback) => {
4949
// encodeURI encodes a fully formed URL and won't encode the slashes
5050
// also use relisten proxy
5151
if (slug === 'wsp') {
52+
// this is important, auto encodes url
5253
const url = new URL(
5354
trackUrl.replace('www.panicstream.com/streams', 'phishin-proxy.relisten.net/panicstream')
5455
);
55-
url.pathname = encodeURIComponent(url.pathname);
5656
trackUrl = url.href;
5757

5858
headers.push({

0 commit comments

Comments
 (0)