pre migrate

This commit is contained in:
2026-01-28 20:58:26 -05:00
parent a613283539
commit 513674b0c8
11 changed files with 206 additions and 263 deletions

View File

@@ -1,8 +1,7 @@
var done = false;
async function main() {
try {
console.log(11);
const response = fetch("https://httpbin.org/get");
const response = await fetch("https://httpbin.org/get");
console.log(response);
console.log("OK:", response.ok);
@@ -10,6 +9,7 @@ async function main() {
console.log("Body:", response.body);
console.log("Content-Type:", response.headers["content-type"]);
} catch (e) {
console.log("error");
console.log(e);
}
done = true;