Serve fontstacks.json and possibly fonts even without any style
This commit is contained in:
parent
6d68c93871
commit
b48f7edc1d
1 changed files with 1 additions and 4 deletions
|
@ -138,10 +138,7 @@ module.exports = function(opts, callback) {
|
|||
}
|
||||
});
|
||||
|
||||
if (Object.keys(serving.styles).length > 0) {
|
||||
// serve fonts only if serving some styles
|
||||
app.use('/', serve_font(options, serving.fonts));
|
||||
}
|
||||
|
||||
Object.keys(data).forEach(function(id) {
|
||||
var item = data[id];
|
||||
|
|
Loading…
Reference in a new issue