const path = require('path'); let path = url.parse(request.url).pathname; path variable is declared twice, consider changing names to avoid errors
const path = require('path');
let path = url.parse(request.url).pathname;
path variable is declared twice, consider changing names to avoid errors