Skip to content

Commit

Permalink
correct import
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoLC committed Jan 21, 2025
1 parent e33b29e commit 3eb9f69
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/frontend/apps/impress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"@types/node": "*",
"@types/react": "18.3.12",
"@types/react-dom": "*",
"@types/ws": "8.5.13",
"cross-env": "7.0.3",
"dotenv": "16.4.7",
"eslint-config-impress": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export class CollaborationProvider extends HocuspocusProvider {

public constructor(configuration: CollaborationProviderConfiguration) {
const withWS = isFirefox();
//const withWS = true;

let url = '';
if (isHocuspocusProviderConfigurationUrl(configuration)) {
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/servers/y-provider/src/libs/PollSync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from '@hocuspocus/server';
import { Request, Response } from 'express';
import { v4 as uuid } from 'uuid';
import { readSyncMessage, readUpdate } from 'y-protocols/sync.js';
import { readSyncMessage } from 'y-protocols/sync';
import * as Y from 'yjs';

import { base64ToYDoc, logger, toBase64 } from '@/utils';
Expand Down

0 comments on commit 3eb9f69

Please sign in to comment.