(y-provider) endpoint POST /collaboration/api/reset-connections

We want to be able to reset the connections of a document.
To do this, we need to be able to send a
request to the collaboration server.
To do so, we added the endpoint
POST "/collaboration/api/reset-connections"
to the collaboration server thanks to "express".
This commit is contained in:
Anthony LC
2024-11-28 17:00:06 +01:00
committed by Anthony LC
parent 2cba228a67
commit ba1cfc3c27
11 changed files with 661 additions and 23 deletions

View File

@@ -53,6 +53,7 @@ AI_API_KEY=password
AI_MODEL=llama
# Collaboration
COLLABORATION_SERVER_ORIGIN=http://localhost:3000
COLLABORATION_SERVER_SECRET=my-secret
COLLABORATION_WS_URL=ws://localhost:8083/collaboration/ws