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

Updated canary admin/site endpoint temporarily

- these changes are not ready for prime time
This commit is contained in:
Hannah Wolfe 2020-04-27 12:58:09 +01:00
parent 4eeb8604dd
commit 89669cd8e9

View file

@ -1,7 +1,7 @@
const ghostVersion = require('../../lib/ghost-version'); const ghostVersion = require('../../lib/ghost-version');
const settingsCache = require('../../services/settings/cache'); const settingsCache = require('../../services/settings/cache');
const urlUtils = require('../../lib/url-utils'); const urlUtils = require('../../lib/url-utils');
const membersService = require('../../services/members'); // const membersService = require('../../services/members');
const site = { const site = {
docName: 'site', docName: 'site',
@ -13,10 +13,10 @@ const site = {
title: settingsCache.get('title'), title: settingsCache.get('title'),
description: settingsCache.get('description'), description: settingsCache.get('description'),
logo: settingsCache.get('logo'), logo: settingsCache.get('logo'),
brand: settingsCache.get('brand'), // brand: settingsCache.get('brand'), // this is a dev experiments feature & needs to be behind the flag
url: urlUtils.urlFor('home', true), url: urlUtils.urlFor('home', true),
plans: membersService.config.getPublicPlans(), // plans: membersService.config.getPublicPlans(), // these are new members features that probably won't live here
allowSelfSignup: membersService.config.getAllowSelfSignup(), // allowSelfSignup: membersService.config.getAllowSelfSignup(), // these are new members features that probably won't live here
version: ghostVersion.safe version: ghostVersion.safe
}; };
} }