Skip to content
  • Jed Fox's avatar
    0e2b317e
    Fix sync-related errors that show up in the console when not using a server (#984) · 0e2b317e
    Jed Fox authored
    Previously, the frontend would attempt to make real requests to
    `https://not-configured/`, which of course failed. I’ve changed the
    internal structure to have the lack of a server expressed as a `null`
    server. A new `did-bootstrap` browser-level setting has been added to
    track if the user clicked “Don’t use a server.”
    
    Finally, I updated the auth logic for methods that call out to the
    server to make them consistent and use the early return style which
    reduces indentation.
    0e2b317e
    Fix sync-related errors that show up in the console when not using a server (#984)
    Jed Fox authored
    Previously, the frontend would attempt to make real requests to
    `https://not-configured/`, which of course failed. I’ve changed the
    internal structure to have the lack of a server expressed as a `null`
    server. A new `did-bootstrap` browser-level setting has been added to
    track if the user clicked “Don’t use a server.”
    
    Finally, I updated the auth logic for methods that call out to the
    server to make them consistent and use the early return style which
    reduces indentation.
Loading