mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 11:54:33 +03:00
Update dependencies
No Issue - bluebird@2.4.2 - body-parser@1.10.0 - busboy@0.2.9 - connect-slashes@1.3.0 (remove base path option which is no longer needed) - fs-extra@0.13.0 - glob@0.4.2 - passport@0.2.1 - passport-oauth2-client-password@0.1.2 - grunt-jscs@1.1.0
This commit is contained in:
parent
2c66430dba
commit
d59f873aec
@ -299,13 +299,11 @@ setupMiddleware = function (blogAppInstance, adminApp) {
|
|||||||
// site map
|
// site map
|
||||||
sitemapHandler(blogApp);
|
sitemapHandler(blogApp);
|
||||||
|
|
||||||
// Add in all trailing slashes, properly include the subdir path
|
// Add in all trailing slashes
|
||||||
// in the redirect.
|
|
||||||
blogApp.use(slashes(true, {
|
blogApp.use(slashes(true, {
|
||||||
headers: {
|
headers: {
|
||||||
'Cache-Control': 'public, max-age=' + utils.ONE_YEAR_S
|
'Cache-Control': 'public, max-age=' + utils.ONE_YEAR_S
|
||||||
},
|
}
|
||||||
base: config.paths.subdir
|
|
||||||
}));
|
}));
|
||||||
blogApp.use(uncapitalise);
|
blogApp.use(uncapitalise);
|
||||||
|
|
||||||
|
18
package.json
18
package.json
@ -32,20 +32,20 @@
|
|||||||
"engineStrict": true,
|
"engineStrict": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bcryptjs": "2.0.2",
|
"bcryptjs": "2.0.2",
|
||||||
"bluebird": "2.3.10",
|
"bluebird": "2.4.2",
|
||||||
"body-parser": "1.8.2",
|
"body-parser": "1.10.0",
|
||||||
"bookshelf": "0.7.9",
|
"bookshelf": "0.7.9",
|
||||||
"busboy": "0.2.8",
|
"busboy": "0.2.9",
|
||||||
"cheerio": "0.18.0",
|
"cheerio": "0.18.0",
|
||||||
"colors": "0.6.2",
|
"colors": "0.6.2",
|
||||||
"compression": "1.2.2",
|
"compression": "1.2.2",
|
||||||
"connect-slashes": "1.2.0",
|
"connect-slashes": "1.3.0",
|
||||||
"downsize": "0.0.8",
|
"downsize": "0.0.8",
|
||||||
"express": "4.10.6",
|
"express": "4.10.6",
|
||||||
"express-hbs": "0.7.11",
|
"express-hbs": "0.7.11",
|
||||||
"extract-zip": "1.0.3",
|
"extract-zip": "1.0.3",
|
||||||
"fs-extra": "0.12.0",
|
"fs-extra": "0.13.0",
|
||||||
"glob": "4.3.1",
|
"glob": "4.3.2",
|
||||||
"html-to-text": "1.0.0",
|
"html-to-text": "1.0.0",
|
||||||
"knex": "0.7.3",
|
"knex": "0.7.3",
|
||||||
"lodash": "2.4.1",
|
"lodash": "2.4.1",
|
||||||
@ -54,9 +54,9 @@
|
|||||||
"node-uuid": "1.4.2",
|
"node-uuid": "1.4.2",
|
||||||
"nodemailer": "0.7.1",
|
"nodemailer": "0.7.1",
|
||||||
"oauth2orize": "1.0.1",
|
"oauth2orize": "1.0.1",
|
||||||
"passport": "0.2.0",
|
"passport": "0.2.1",
|
||||||
"passport-http-bearer": "1.0.1",
|
"passport-http-bearer": "1.0.1",
|
||||||
"passport-oauth2-client-password": "0.1.1",
|
"passport-oauth2-client-password": "0.1.2",
|
||||||
"request": "2.51.0",
|
"request": "2.51.0",
|
||||||
"rss": "1.0.0",
|
"rss": "1.0.0",
|
||||||
"semver": "4.1.0",
|
"semver": "4.1.0",
|
||||||
@ -88,7 +88,7 @@
|
|||||||
"grunt-ember-templates": "~0.5.0-alpha",
|
"grunt-ember-templates": "~0.5.0-alpha",
|
||||||
"grunt-es6-module-transpiler": "~0.6.0",
|
"grunt-es6-module-transpiler": "~0.6.0",
|
||||||
"grunt-express-server": "~0.4.19",
|
"grunt-express-server": "~0.4.19",
|
||||||
"grunt-jscs": "~1.0.0",
|
"grunt-jscs": "~1.1.0",
|
||||||
"grunt-mocha-cli": "~1.11.0",
|
"grunt-mocha-cli": "~1.11.0",
|
||||||
"grunt-sass": "~0.16.1",
|
"grunt-sass": "~0.16.1",
|
||||||
"grunt-shell": "~1.1.1",
|
"grunt-shell": "~1.1.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user