0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/middleware
Aileen Nowak b086b432ad Dumped icojs and use image-size for .ico (#8888)
refs #8868

The `image-size` library supports now `.ico` files, which means there is no longer need to use the `icojs` library.
- removes unnecessary `icojs` dependency
- refactors `getIconDimensions` fn in blog icon util to fetch image sizes synchronus
- removes unnecessary `getIconDimensions` fn in blog icon validation, as there is no longer need to use different image size fn for different file extensions, and uses `getIconDimensions` from blog util fn instead.
- updates and adds more tests
2017-08-17 17:44:05 +01:00
..
api 🎨 Ghost bootstrap: optimise requires (#8121) 2017-03-13 20:07:12 +00:00
validation Dumped icojs and use image-size for .ico (#8888) 2017-08-17 17:44:05 +01:00
brute.js 🎨 Ghost bootstrap: optimise requires (#8121) 2017-03-13 20:07:12 +00:00
cache-control.js 🎨 add cache control configurations into the default config 2017-05-31 16:12:11 +01:00
custom-redirects.js Used ghost-ignition.debug, removed debug dep (#8881) 2017-08-15 18:29:27 +07:00
error-handler.js 🐛 Fixed Infinite 404s for images (#8869) 2017-08-10 15:31:52 +02:00
ghost-locals.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00
labs.js 🎨 configurable logging with bunyan (#7431) 2016-10-04 16:33:43 +01:00
log-request.js 🛠 Moved 404 requests from error log to access log (#8850) 2017-08-08 12:48:10 +02:00
maintenance.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
pretty-urls.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00
serve-favicon.js 🎨 add cache control configurations into the default config 2017-05-31 16:12:11 +01:00
serve-public-file.js 💁🏻 Moveshared/ to server/public (#8273) 2017-04-07 13:21:41 +01:00
static-theme.js New fully-loaded & validated activeTheme concept (#8146) 2017-03-13 21:13:17 +01:00
uncapitalise.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00
url-redirects.js Used ghost-ignition.debug, removed debug dep (#8881) 2017-08-15 18:29:27 +07:00