Skip to content
Snippets Groups Projects
Unverified Commit 0e2b317e authored by Jed Fox's avatar Jed Fox Committed by GitHub
Browse files

Fix sync-related errors that show up in the console when not using a server (#984)

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.
parent 15bc3c45
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment