Skip to content

Commit

Permalink
WHOOPS
Browse files Browse the repository at this point in the history
  • Loading branch information
MotorTruck1221 committed Nov 9, 2024
1 parent 20cb82e commit af5352e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/[lang]/settings/pr.astro
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,13 @@ import { MARKETPLACE_ENABLED } from "astro:env/client";
});
wispServerButton.addEventListener("click", () => {
if (wispServerVal.value === "custom") {
settings.proxySettings.setWispURL(wispServerVal.value);
if (customWispUrl.classList.contains('hidden')) {
customWispUrl.classList.remove("hidden");
customWispUrl.value = localStorage.getItem("customWispUrl") as string;
}
else {
localStorage.setItem("customWispUrl", customWispUrl.value);
settings.proxySettings.setWispURL(wispServerVal.value);
toast(".wispUrlMessage");
}
}
Expand Down

0 comments on commit af5352e

Please sign in to comment.