0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Updated the configuration to include v4 pointing to canary

issue https://github.com/TryGhost/Team/issues/221
This commit is contained in:
Thibaut Patel 2021-02-22 15:39:48 +01:00
parent 95105836aa
commit a551970315
2 changed files with 18 additions and 2 deletions

View file

@ -61,11 +61,15 @@
},
"api": {
"versions": {
"all": ["v2", "v3", "canary"],
"all": ["v2", "v3", "v4", "canary"],
"canary": {
"admin": "canary/admin",
"content": "canary/content"
},
"v4": {
"admin": "canary/admin",
"content": "canary/content"
},
"v3": {
"admin": "v3/admin",
"content": "v3/content"

View file

@ -131,7 +131,19 @@ describe('Themes: engines', function () {
});
engines.should.eql({
'ghost-api': 'v3'
'ghost-api': 'v4'
});
});
it('v4', function () {
const engines = themeEngines.create({
engines: {
'ghost-api': 'v4'
}
});
engines.should.eql({
'ghost-api': 'v4'
});
});
});