Tuesday 16 May 2017

The difference of express's res.set and res.static

When render a html page by nodejs express application, the res.set function can not work rigth and render the page, but the res.static can get that worked. Why? What is the difference between them?



via leon_zhang

No comments:

Post a Comment