Skip to content

Commit

Permalink
feat: remove previous package.json changes
Browse files Browse the repository at this point in the history
  • Loading branch information
f-steel committed Sep 2, 2024
1 parent b795f2a commit 357a724
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"dev:spotlight": "spotlight-sidecar",
"dev:next": "next dev",
"dev": "run-p dev:*",
"dev-colab": "node server.js & HOST=localhost PORT=1234 npx y-websocket",
"dev-colab": "node server.js",
"build": "next build",
"build-with-migrate": "npm run db:migrate && next build",
"start": "NODE_ENV=production node server.js & HOST=localhost PORT=1234 npx y-websocket",
"start": "NODE_ENV=production node server.js",
"build-stats": "cross-env ANALYZE=true npm run build",
"clean": "rimraf .next .swc out coverage",
"lint": "next lint",
Expand Down
2 changes: 1 addition & 1 deletion src/_components/Editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ const Editor = React.memo(function EditorC({

// web socket provider
const url = new URL(window.location.href);
const wsUrl = `${protocol}//${url.hostname}:1234/socket.io`;
const wsUrl = `${protocol}//${url.hostname}:3000/socket.io`;
const provider = new WebsocketProvider(wsUrl, id, doc, {
connect: true,
});
Expand Down

0 comments on commit 357a724

Please sign in to comment.