0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/api/index.js
Naz 4778fce615 Reordered API exports to improve readability
refs https://github.com/TryGhost/Team/issues/513

- Having exports in no particular order was making it hard to spot if there's anything missing
- Having a DESC order on the exported API versions makes it very easy to modify and maintain in the future
2021-03-04 11:27:09 +13:00

6 lines
239 B
JavaScript

module.exports = require('./v3');
module.exports.canary = require('./canary');
module.exports.v4 = require('./canary');
module.exports.v3 = require('./v3');
module.exports.v2 = require('./v2');
module.exports.shared = require('./shared');