please help me i will not get this…… now message show on the browser that cannot GET/
phpsupport | phpsupportdesk Latest Questions
this is the my modified code of server.js now i will get the error syntax error :missing ) after arguments list var express =require(‘express’); var app = express(); app.use(express.static(E:/nodeprojects/phonedirectoryapp + "/public")); app.listen(3000); console.log("Server running on the port 3000");
in this post there is a code line app.use(express.static(__dirname + “/public”)); so in this line what do you mean by __dirname