mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
🔥 Removed publicAPI feature flag related code (#1323)
no issue - Changes are related to API v0.1 being completely gone and this flag won't be returned from API anywhere anymore
This commit is contained in:
parent
bd32e758db
commit
461adc6244
3 changed files with 1 additions and 13 deletions
|
@ -50,7 +50,6 @@ export default Service.extend({
|
||||||
notifications: service(),
|
notifications: service(),
|
||||||
lazyLoader: service(),
|
lazyLoader: service(),
|
||||||
|
|
||||||
publicAPI: feature('publicAPI'),
|
|
||||||
subscribers: feature('subscribers'),
|
subscribers: feature('subscribers'),
|
||||||
members: feature('members'),
|
members: feature('members'),
|
||||||
nightShift: feature('nightShift', {user: true, onChange: '_setAdminTheme'}),
|
nightShift: feature('nightShift', {user: true, onChange: '_setAdminTheme'}),
|
||||||
|
|
|
@ -98,17 +98,6 @@
|
||||||
<div class="for-switch">{{gh-feature-flag "nightShift"}}</div>
|
<div class="for-switch">{{gh-feature-flag "nightShift"}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{#if (not-eq feature.labs.publicAPI undefined)}}
|
|
||||||
<div class="gh-setting">
|
|
||||||
<div class="gh-setting-content">
|
|
||||||
<div class="gh-setting-title">Public API (deprecated)</div>
|
|
||||||
<div class="gh-setting-desc">⚠️ Please use the Content API instead, more info in <a href="https://ghost.org/docs/api/content/">the docs</a></div>
|
|
||||||
</div>
|
|
||||||
<div class="gh-setting-action">
|
|
||||||
<div class="for-switch">{{gh-feature-flag "publicAPI"}}</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
<div class="gh-setting {{if feature.members "gh-labs-disabled"}}" data-tooltip="{{if feature.members "Disabled when members is turned on"}}">
|
<div class="gh-setting {{if feature.members "gh-labs-disabled"}}" data-tooltip="{{if feature.members "Disabled when members is turned on"}}">
|
||||||
<div class="gh-setting-content">
|
<div class="gh-setting-content">
|
||||||
<div class="gh-setting-title">Subscribers</div>
|
<div class="gh-setting-title">Subscribers</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@ export default [{
|
||||||
database: 'mysql',
|
database: 'mysql',
|
||||||
enableDeveloperExperiments: true,
|
enableDeveloperExperiments: true,
|
||||||
environment: 'development',
|
environment: 'development',
|
||||||
labs: {publicAPI: true, subscribers: false},
|
labs: {subscribers: false},
|
||||||
mail: 'SMTP',
|
mail: 'SMTP',
|
||||||
version: '2.15.0',
|
version: '2.15.0',
|
||||||
useGravatar: 'true'
|
useGravatar: 'true'
|
||||||
|
|
Loading…
Add table
Reference in a new issue