backup
This commit is contained in:
1 parent
fee204a338
commit
12fefb5939
3 files changed
+29
-2
No files matched your search
@@ -20,9 +20,10 @@ const router = express.Router();
|
||||
// });
|
||||
// });
|
||||
|
||||
router.post("/getRides", function (req, res, next) {
|
||||
router.post("/getProjects", function (req, res, next) {
|
||||
console.log("yes there is a request");
|
||||
var io = req.app.get("io");
|
||||
|
||||
io.emit("world", "This will emit projects");
|
||||
// io.to(//socket.id//).emit("message", data);
|
||||
|
||||
// db.rides.find(function(err, docs) {
|
||||
|
||||
Reference in new issue
Block a user