Call setVote with fixed data for testing if socket works.
Showing
This diff is collapsed.
| ... | @@ -12,11 +12,10 @@ | ... | @@ -12,11 +12,10 @@ |
| "author": "Dennis Willers", | "author": "Dennis Willers", | ||
| "license": "ISC", | "license": "ISC", | ||
| "dependencies": { | "dependencies": { | ||
| "axios": "^0.21.1", | |||
| "cors": "^2.8.5", | "cors": "^2.8.5", | ||
| "express": "^4.17.1", | "express": "^4.17.1", | ||
| "mysql": "^2.18.1", | "mysql": "^2.18.1" | ||
| "socket.io": "^3.0.4", | |||
| "socket.io-client": "^3.0.4" | |||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "nodemon": "^2.0.7" | "nodemon": "^2.0.7" | ||
| ... | ... |
Please register or sign in to comment