Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Add v3.42.9
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickRe committed Jan 21, 2022
1 parent 039141a commit 4e16984
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/server/api/canary/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
clientExtensions: config.get('clientExtensions') || {},
enableDeveloperExperiments: config.get('enableDeveloperExperiments') || false,
stripeDirect: config.get('stripeDirect'),
mailgunIsConfigured: config.get('bulkEmail') && config.get('bulkEmail').mailgun,
mailgunIsConfigured: !!(config.get('bulkEmail') && config.get('bulkEmail').mailgun),
emailAnalytics: config.get('emailAnalytics'),
forceUpgrade: config.get('host_settings:forceUpgrade') || false
};
Expand Down
3 changes: 3 additions & 0 deletions core/server/web/members/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ module.exports = function setupMembersApp() {
// Entire app is behind labs flag
membersApp.use(shared.middlewares.labs.members);

// Members API shouldn't be cached
membersApp.use(shared.middlewares.cacheControl('private'));

// Support CORS for requests from the frontend
const siteUrl = new URL(urlUtils.getSiteUrl());
membersApp.use(cors(siteUrl.origin));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ghost",
"version": "3.42.8",
"version": "3.42.9",
"description": "The professional publishing platform",
"author": "Ghost Foundation",
"homepage": "https://ghost.org",
Expand Down

0 comments on commit 4e16984

Please sign in to comment.