(path)
| 14 | (process.env.SIMDECK_STREAM_CHECK_FAIL_SERVER_DROPS ?? "0").trim() === "1"; |
| 15 | |
| 16 | function endpoint(path) { |
| 17 | return new URL(path, serverUrl).toString(); |
| 18 | } |
| 19 | |
| 20 | async function fetchJson(path) { |
| 21 | const response = await fetch(endpoint(path), { cache: "no-store" }); |