mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Added missing v4 API endpoints mount
refs ff6d31e08f
refs https://github.com/TryGhost/Team/issues/513
- The API was missing from the referenced commit when v3 was being extracted
This commit is contained in:
parent
f68cf109dd
commit
9fab028621
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,9 @@ module.exports = function setupApiApp() {
|
|||
apiApp.use(urlUtils.getVersionPath({version: 'v3', type: 'content'}), require('./v3/content/app')());
|
||||
apiApp.use(urlUtils.getVersionPath({version: 'v3', type: 'admin'}), require('./v3/admin/app')());
|
||||
|
||||
apiApp.use(urlUtils.getVersionPath({version: 'v4', type: 'content'}), require('./canary/content/app')());
|
||||
apiApp.use(urlUtils.getVersionPath({version: 'v4', type: 'admin'}), require('./canary/admin/app')());
|
||||
|
||||
apiApp.use(urlUtils.getVersionPath({version: 'canary', type: 'content'}), require('./canary/content/app')());
|
||||
apiApp.use(urlUtils.getVersionPath({version: 'canary', type: 'admin'}), require('./canary/admin/app')());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue