Answer the question
In order to leave comments, you need to log in
ExpressJS - base route and express.static not working?
I have in my application (on the Backbone client on the server - mongo node express) 2 lines
app.use(express.static(path.join(application_root, 'site')));
app.get('/',function(req,res){
console.log('Its a base url');
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question