mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
Made members/.well-known config more readable
refs https://github.com/TryGhost/Toolbox/issues/411 - Before moving the cache control values to a configurable ones, making them readable first.
This commit is contained in:
parent
edb8afe106
commit
d06194a0d6
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ module.exports = function setupSiteApp(routerConfig) {
|
|||
// /member/.well-known/* serves files (e.g. jwks.json) so it needs to be mounted before the prettyUrl mw to avoid trailing slashes
|
||||
siteApp.use(
|
||||
'/members/.well-known',
|
||||
shared.middleware.cacheControl('public', {maxAge: 60 * 60 * 24}),
|
||||
shared.middleware.cacheControl('public', {maxAge: constants.ONE_DAY_S}),
|
||||
(req, res, next) => membersService.api.middleware.wellKnown(req, res, next)
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue