horiyouta commited on
Commit
19cbbfc
·
1 Parent(s): 1831774

2410191227

Browse files
Files changed (1) hide show
  1. 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' },