mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 01:02:05 -07:00
fix(bug): fixed bug introduced when trying to remove socket.io
This commit is contained in:
@@ -85,13 +85,6 @@ app.use(express.static(path.join(__dirname, "public")))
|
||||
// }
|
||||
// ));
|
||||
|
||||
// Make io accessible to our router
|
||||
app.use((req, res, next) => {
|
||||
req.io = io
|
||||
|
||||
next()
|
||||
})
|
||||
|
||||
const v2prefix = "v2"
|
||||
const v3prefix = "v3"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user