mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
parent
2447335ab1
commit
b69f1e9e21
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ function initialiseServices() {
|
||||||
scheduling.init({
|
scheduling.init({
|
||||||
schedulerUrl: config.get('scheduling').schedulerUrl,
|
schedulerUrl: config.get('scheduling').schedulerUrl,
|
||||||
active: config.get('scheduling').active,
|
active: config.get('scheduling').active,
|
||||||
|
// NOTE: When changing API version need to consider how to migrate custom scheduling adapters
|
||||||
|
// that rely on URL to lookup persisted scheduled records (jobs, etc.). Ref: https://github.com/TryGhost/Ghost/pull/10726#issuecomment-489557162
|
||||||
apiUrl: urlService.utils.urlFor('api', {version: 'v0.1', versionType: 'content'}, true),
|
apiUrl: urlService.utils.urlFor('api', {version: 'v0.1', versionType: 'content'}, true),
|
||||||
internalPath: config.get('paths').internalSchedulingPath,
|
internalPath: config.get('paths').internalSchedulingPath,
|
||||||
contentPath: config.getContentPath('scheduling')
|
contentPath: config.getContentPath('scheduling')
|
||||||
|
|
Loading…
Add table
Reference in a new issue