path.resolve('www', 'index.html'));
var server = app.listen(3000, function(){}); 这段代码运行良好,但问题是,即使在我的assets文件夹中找不到文件我希望它响应错误的404 Not Found,如果一些网址不存在于资产文件夹中 我试着在app.use('/assets'...行之后使用以下代码
我在scss文件中有几个带有背景图像的样式:app/assets/stylesheets/controls/player.css.scss: background-image它们分别呈现这样的css属性:/images/cards.gif <-- that one is wrong, it obviously returns 404