yjs / y-websocket

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

Callback object content is empty #154

Closed h3110w0r1d-y closed 11 months ago

h3110w0r1d-y commented 11 months 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