Swapped to American English spellings

refs 16728a3ef1
This commit is contained in:
Naz 2021-07-27 12:15:19 +04:00
parent 91ab07d0d1
commit 8fbbd524df
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
const postScheduling = require('./post-scheduling');
/**
* @description Initialise all scheduler modules.
* @description Initialize all scheduler modules.
*
* We currently only support post-scheduling: publish posts/pages when scheduled.
*

View File

@ -24,7 +24,7 @@ function hideValueIfSecret(setting) {
module.exports = {
/**
* Initialise the cache, used in boot and in testing
* Initialize the cache, used in boot and in testing
*/
async init() {
const settingsCollection = await models.Settings.populateDefaults();

View File

@ -119,7 +119,7 @@ module.exports = function setupSiteApp(options = {}) {
// Global handling for member session, ensures a member is logged in to the frontend
siteApp.use(membersService.middleware.loadMemberSession);
// /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', (req, res, next) => membersService.api.middleware.wellKnown(req, res, next));
@ -195,7 +195,7 @@ module.exports.reload = ({apiVersion}) => {
router = siteRoutes({start: true, apiVersion});
Object.setPrototypeOf(SiteRouter, router);
// re-initialse apps (register app routers, because we have re-initialised the site routers)
// re-initialize apps (register app routers, because we have re-initialized the site routers)
appService.init();
// connect routers and resources again