mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 14:22:07 +03:00
dfe1089ee2
refs https://github.com/TryGhost/Team/issues/856 - The default internal version of the API is expected to be the latest one available which is v4/canary at the moment. - There will be more information posted in the referenced issue later around how to approach the "default version", for now it's just a change to make a small step into a right direction.
11 lines
259 B
JavaScript
11 lines
259 B
JavaScript
module.exports.shared = require('./shared');
|
|
|
|
const defaultAPI = require('./canary');
|
|
|
|
module.exports = defaultAPI;
|
|
module.exports.canary = defaultAPI;
|
|
module.exports.v4 = defaultAPI;
|
|
module.exports.v3 = require('./v3');
|
|
module.exports.v2 = require('./v2');
|
|
|