diff --git a/client/package.json b/client/package.json index b6186d2..4848da0 100644 --- a/client/package.json +++ b/client/package.json @@ -44,5 +44,6 @@ "devDependencies": {}, "keywords": [], "author": "", - "license": "ISC" + "license": "ISC", + "proxy": "http://localhost:3001" } diff --git a/server.js b/server.js index 2333b52..87a8832 100644 --- a/server.js +++ b/server.js @@ -3,12 +3,7 @@ const express = require("express"); const socketio = require("socket.io"); const router = require("./server/route"); const app = express(); -const { - addUsers, - removeUser, - getAllUsers, - getUser, -} = require("./server/user"); +const { addUsers, removeUser, getUser } = require("./server/user"); app.use(router);