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:
parent
95105836aa
commit
a551970315
2 changed files with 18 additions and 2 deletions
|
@ -61,11 +61,15 @@
|
||||||
},
|
},
|
||||||
"api": {
|
"api": {
|
||||||
"versions": {
|
"versions": {
|
||||||
"all": ["v2", "v3", "canary"],
|
"all": ["v2", "v3", "v4", "canary"],
|
||||||
"canary": {
|
"canary": {
|
||||||
"admin": "canary/admin",
|
"admin": "canary/admin",
|
||||||
"content": "canary/content"
|
"content": "canary/content"
|
||||||
},
|
},
|
||||||
|
"v4": {
|
||||||
|
"admin": "canary/admin",
|
||||||
|
"content": "canary/content"
|
||||||
|
},
|
||||||
"v3": {
|
"v3": {
|
||||||
"admin": "v3/admin",
|
"admin": "v3/admin",
|
||||||
"content": "v3/content"
|
"content": "v3/content"
|
||||||
|
|
|
@ -131,7 +131,19 @@ describe('Themes: engines', function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
engines.should.eql({
|
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'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue