Skip to content

Commit

Permalink
add default token to provider, to fix readOnly mode (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikStreek authored Feb 1, 2025
1 parent 85123c7 commit 8e64f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/editorSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const createProvider = (
url: serverUrl(),
name: documentId,
document: ydoc,
token: modificationSecret
token: modificationSecret || 'readOnly'
});
};

Expand Down

0 comments on commit 8e64f5d

Please sign in to comment.