mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
parent
91ab07d0d1
commit
8fbbd524df
@ -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.
|
||||
*
|
||||
|
@ -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();
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user