Revert "Make frontend URL in txt playlists overridable"

This reverts commit e58b4f5409.
This commit is contained in:
fk 2024-02-23 20:23:31 +01:00
parent e58b4f5409
commit 85b92407db
2 changed files with 1 additions and 2 deletions

1
.env
View file

@ -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=/

View file

@ -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");
},