We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for your example. It really helps.
There is an issue here. When I try to run option1, there is an error "500 Error: Cannot find module 'undefined'".
After I repalce the code in app.js
app.get('/todo', function(req, res){ res.render('todo', {title: "MongoDB Backed TODO App"}); });
with code like this
app.get('/todo', function(req, res){ res.sendfile(__dirname + '/public/static.html'); });
It works just fine. Why? If it's an bug, would you fix it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Thanks for your example. It really helps.
There is an issue here. When I try to run option1, there is an error "500 Error: Cannot find module 'undefined'".
After I repalce the code in app.js
with code like this
It works just fine. Why?
If it's an bug, would you fix it?
The text was updated successfully, but these errors were encountered: