You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var app = server();
app.listen(3000);
var static = require('diet-static')({ path: app.path+'/static/' })
console.log( app.path+'/static/' );
// Attach the static module as a footer middleware
app.footer(static)
The text was updated successfully, but these errors were encountered:
tablecell
changed the title
TypeError mime.lookup is not a function when
TypeError mime.lookup is not a function when use 'diet-static' as a footer middleware
Sep 25, 2020
neither http://localhost:3000/jquery.js or http://localhost:3000/static/jquery.js
echo msg TypeError mime.lookup is not a function
The text was updated successfully, but these errors were encountered: