Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wont-stream committed Jul 11, 2024
1 parent 6a5e922 commit c0b3039
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/Staging/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
6 changes: 6 additions & 0 deletions plugins/Staging/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "Staging",
"description": "Redirect you to the staging version of the desktop app.",
"author": "wont-stream",
"main": "./src/index.js"
}
5 changes: 5 additions & 0 deletions plugins/Staging/src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if (!location.href.includes("desktop.tidal.com")) return;
location.href = location.href.replace(
"desktop.tidal.com",
"desktop.stage.tidal.com"
);

0 comments on commit c0b3039

Please sign in to comment.