From 85b92407dbcf92d60973f860bf79367f53e4978f Mon Sep 17 00:00:00 2001 From: fk <2378306+fkrull@users.noreply.github.com> Date: Fri, 23 Feb 2024 20:23:31 +0100 Subject: [PATCH] Revert "Make frontend URL in txt playlists overridable" This reverts commit e58b4f5409e80657a66d14c36a654ded9d96a6a8. --- .env | 1 - src/components/PlaylistPage.vue | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.env b/.env index 5c9e85e3..f82ae4dc 100644 --- a/.env +++ b/.env @@ -1,5 +1,4 @@ VITE_PIPED_API=https://pipedapi.kavin.rocks VITE_PIPED_PROXY=https://pipedproxy.kavin.rocks VITE_PIPED_INSTANCES=https://piped-instances.kavin.rocks/ -VITE_PIPED_FRONTEND=https://piped.video VITE_BASE_URL=/ diff --git a/src/components/PlaylistPage.vue b/src/components/PlaylistPage.vue index 0166ae5c..d6923d5b 100644 --- a/src/components/PlaylistPage.vue +++ b/src/components/PlaylistPage.vue @@ -158,7 +158,7 @@ export default { downloadPlaylistAsTxt() { var data = ""; this.playlist.relatedStreams.forEach(element => { - data += import.meta.env.VITE_PIPED_FRONTEND + element.url + "\n"; + data += "https://piped.video" + element.url + "\n"; }); this.download(data, this.playlist.name + ".txt", "text/plain"); },