Spaces:
Running
Running
2410191227
Browse files- public/script.js +1 -1
public/script.js
CHANGED
@@ -121,7 +121,7 @@ const sb3 = async () => {
|
|
121 |
fetch(`/api/check`)
|
122 |
.then(res => res.text())
|
123 |
.then(resData => {
|
124 |
-
if (resData == `ok`) {
|
125 |
fetch(`/api/sb3`, {
|
126 |
method: `POST`,
|
127 |
headers: { 'Content-Type': 'application/json' },
|
|
|
121 |
fetch(`/api/check`)
|
122 |
.then(res => res.text())
|
123 |
.then(resData => {
|
124 |
+
if (resData == `"ok"`) {
|
125 |
fetch(`/api/sb3`, {
|
126 |
method: `POST`,
|
127 |
headers: { 'Content-Type': 'application/json' },
|