Open
Description
Hi, perhaps I'm misunderstanding something, I don't understand why the client code is making use of cbor-x rather than simply using something to the effect of:
const repo = new Repo({
network: [new BrowserWebSocketClientAdapter('<my wss server url')],
storage: new IndexedDBStorageAdapter(),
})
Basically I'm wanting to self-host my own web-socket server and automerge repo (with file system storage). I thought I understood the server-side code to a nice simple example of how to do this, but after seeing the client-side code, I'm unsure if a "sync server" is doing something other than what I want.
Any explanation, no matter how brief, would be appreciated.
Metadata
Metadata
Assignees
Labels
No labels
Activity