Skip to content

Commit 5a56f99

Browse files
committed
send user to new user on header error
1 parent 6656ed9 commit 5a56f99

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/twchallenge.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ window.addEventListener("message", (e) => {
109109
);
110110
console.error("Error initializing solver:");
111111
console.error(data.error);
112+
location.href = `${location.pathname}?newtwitter=true`;
112113
} else if (data.action === "ready") {
113114
solverReady = true;
114115
for (let task of solveQueue) {

0 commit comments

Comments
 (0)