yjs / y-websocket

Websocket Connector for Yjs
https://docs.yjs.dev/ecosystem/connection-provider/y-websocket
MIT License
526 stars 263 forks source link

Callback object content is empty #154

Closed h3110w0r1d-y closed 1 year ago

h3110w0r1d-y commented 1 year ago

yjs & y-websocket version:

image

start command

CALLBACK_URL=http://localhost:3000/ CALLBACK_OBJECTS='{"1":"Array","2":"Map","3":"XmlFragment","4":"Text"}' HOST=localhost PORT=1234 YPERSISTENCE=./dbDir node ./node_modules/y-websocket/bin/server.js

connected & modify text

image

callback request:

image