mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Fixed MIME type for public/cards.min.js part deux
refs: 580ebfad39
- correct mime type is application/javascript
- mime types are weird
This commit is contained in:
parent
580ebfad39
commit
ecbdb2284e
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ module.exports = function setupSiteApp(options = {}) {
|
|||
|
||||
// Card assets
|
||||
siteApp.use(mw.servePublicFile('built', 'public/cards.min.css', 'text/css', constants.ONE_YEAR_S));
|
||||
siteApp.use(mw.servePublicFile('built', 'public/cards.min.js', 'text/javascript', constants.ONE_YEAR_S));
|
||||
siteApp.use(mw.servePublicFile('built', 'public/cards.min.js', 'application/javascript', constants.ONE_YEAR_S));
|
||||
|
||||
// Serve blog images using the storage adapter
|
||||
siteApp.use(STATIC_IMAGE_URL_PREFIX, mw.handleImageSizes, storage.getStorage('images').serve());
|
||||
|
|
Loading…
Add table
Reference in a new issue