notes
All repositories: gitoria
510 B
import { fetch, tryFetch } from 'hl:fetch'refused = tryFetch('http://127.0.0.1:32262/x')console.log(JSON.stringify(refused))slow = tryFetch('http://127.0.0.1:32261/x', { timeoutMs = 80 })console.log(JSON.stringify(slow))for (code of [200, 404]) {url = 'http://127.0.0.1:32260/' + codea = fetch(url)b = tryFetch(url)console.log(a.status == b.status, a.ok == b.ok, a.url == b.url, a.body == b.body, a.tag == b.tag, JSON.stringify(a.headers) == JSON.stringify(b.headers), b.text(), b.json().code)}
Branches
Latest commits
- 8342cd28Merge branch 'notes9-no-poll' into mainAtlas
- 1f0457a5|||PR make provisional rejected-draft setup deterministicAtlas
- 996768bf|||PR WIP sequence note creation before provisional-id adoptionAtlas
- c49ce093|||PR WIP remove notes polling and use framework reachabilityAtlas
- c028ac61Merge branch 'notes-pr7-kunibert' into mainAtlas
- 9cc92bdfKeep conflict and history fixes while awaiting queued save supportAtlas
- a5c27cb6Allow real edits back to earlier text and honor configured identAtlas
- 15c46ced|||PR Preserve note edits, conflict bases and visible historyAtlas
- 4c6e0bf6Merge branch 'notes13-day61' into mainAtlas
- eb51864f|||PR Back/Forward via navigate, server drafts, Hybriel day61Atlas
- 3537cf7eMerge branch 'vendor-day59' into mainAtlas
- c13d188b|||PR Vendor Hybriel day59Atlas
- 24c95433Merge branch 'notes17-ghost-note' into mainAtlas
- ae1075b2Preserve rejected drafts during note ID adoptionAtlas
- 383cce23|||PR Prevent saved local edits from restoring deleted notesAtlas
- 99ca1cf6Merge branch 'vendor-day56' into mainAtlas
- 649cef37|||PR Vendor Hybriel day56Atlas
- aadd0abcMerge branch 'hl-standard-2' into mainAtlas
- 52ffac9f|||PR Keyboard and reload checks for the notes gate (HL-STANDARD F21, F5)Atlas
- 617ee8c0Merge branch 'hl-standard' into mainAtlas