I am having the result, but it is not passing the tests.
let express = require('express');
let app = express();
console.log("Hello World!")
/*app.get("/",function(req,res){
res.send('Hello Express');
})*/
let absolutePath = __dirname + '/views/index.html';
let absolutePath2 = __dirname + '/public';
app.get("/",function(req,res){
res.sendFile(absolutePath)
})
app.use('/public',express.static(absolutePath2));
app.get('/json',function(req,res){
let object = {"message":"Hello json"}
const mySecret = process.env['MESSAGE_STYLE']
if(mySecret=="uppercase"){
return res.json(object["message"].toUpperCase())
}
return res.json(object)
})