skanda890 / CodePark

Detected string concatenation with __dirname and __filename JS-0262
Bug risk
Major
1 occurrence in this check
Use path.join() or path.resolve() instead of string concatenation
11app.use(express.static('public'))
12
13app.get('/', (req, res) => {
14  res.sendFile(__dirname + '/public/index.html')15})
16
17io.on('connection', (socket) => {