mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Removing very old fix for woff files
no issue - This was fix a looong, loooonng, looooooooooonnnnnnng time ago: https://github.com/broofa/node-mime/pull/60
This commit is contained in:
parent
7c786a6385
commit
9fd8d47658
1 changed files with 0 additions and 3 deletions
|
@ -99,9 +99,6 @@ function init(options) {
|
||||||
|
|
||||||
// ##Configuration
|
// ##Configuration
|
||||||
|
|
||||||
// return the correct mime type for woff files
|
|
||||||
express.static.mime.define({'application/font-woff': ['woff']});
|
|
||||||
|
|
||||||
// enabled gzip compression by default
|
// enabled gzip compression by default
|
||||||
if (config.server.compress !== false) {
|
if (config.server.compress !== false) {
|
||||||
blogApp.use(compress());
|
blogApp.use(compress());
|
||||||
|
|
Loading…
Add table
Reference in a new issue