Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Bloqueando o Event Loop

node v14.20.1
version: 2.0.0
endpointsharetweet
const express = require('express') const app = express() const port = 3000 app.get('/redos-me', (req, res) => { let filePath = req.query.filePath; // REDOS if (filePath.match(/(\/.+)+$/)) { console.log('valid path'); } else { console.log('invalid path'); } res.sendStatus(200); });
Loading…

no comments

    sign in to comment