mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2026-08-07 02:03:30 +00:00
Update pin.html
This commit is contained in:
parent
dd7736e806
commit
4bada2d9f6
@ -28,7 +28,7 @@
|
||||
fetch("/api/pin", { method: "POST", body: b })
|
||||
.then((response) => response.json())
|
||||
.then((response) => {
|
||||
if (response.status && response.status === "true") {
|
||||
if (response.status.toString().toLowerCase() === "true") {
|
||||
document.querySelector(
|
||||
"#status"
|
||||
).innerHTML = `<div class="alert alert-success" role="alert">Success! Please check Moonlight to continue</div>`;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user