Skip to content
← Back to Community
Cannot get / error
Profile icon
Axel1672

Cannot get / error
I am using express

Answered by ch1ck3n [earned 5 cycles]
View Answer
Voters
Profile icon
Axel1672
Comments
hotnewtop
Profile icon
ch1ck3n

add this on line 48

app.get('/', function (req, res) { res.send('hello world'); });
Profile icon
ruiwenge2

@ch1ck3n remember its send not end

Profile icon
ch1ck3n

@ruiwenge2 sorry typo

Profile icon
ruiwenge2

@ch1ck3n ah ok