diff --git a/package.json b/package.json index 8d53a61..25910e1 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite", + "start": "vite", "build": "vite build", "preview": "vite preview" }, @@ -21,4 +21,4 @@ "vite": "^4.4.5", "vue-router": "^4.2.4" } -} +} \ No newline at end of file diff --git a/src/utils/socket.js b/src/utils/socket.js index 551788d..eae7f7c 100644 --- a/src/utils/socket.js +++ b/src/utils/socket.js @@ -1,4 +1,4 @@ -import io from 'socket.io-client'; -const host = 'localhost:3000'; -const socket = io.connect(host); -export default socket; +import io from 'socket.io-client' +const host = 'localhost:3000' +const socket = io.connect(host) +export default socket diff --git a/src/view/webRtc/Room.vue b/src/view/webRtc/Room.vue index 86a7188..3814218 100644 --- a/src/view/webRtc/Room.vue +++ b/src/view/webRtc/Room.vue @@ -2,12 +2,12 @@