Skip to content

Commit

Permalink
oh.
Browse files Browse the repository at this point in the history
  • Loading branch information
wont-stream committed Jul 11, 2024
1 parent 02a2841 commit 473eff7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions plugins/Staging/src/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
if (!location.href.includes("desktop.tidal.com")) return;
location.href = location.href.replace(
"desktop.tidal.com",
"desktop.stage.tidal.com"
);

export async function onUnload() {
return "not an empty function now!";
if (location.href.includes("desktop.tidal.com")) {
location.href = location.href.replace(
"desktop.tidal.com",
"desktop.stage.tidal.com"
);
}

export async function onUnload() {}

0 comments on commit 473eff7

Please sign in to comment.