From d5c8d02f2924250864fb544596bffadf08321194 Mon Sep 17 00:00:00 2001 From: Naz Date: Thu, 4 Nov 2021 10:46:57 +0400 Subject: [PATCH] Added "mediaAPI" labs flag refs https://github.com/TryGhost/Toolbox/issues/95 - Flat go control the Media API alpha feature --- ghost/admin/app/services/feature.js | 1 + ghost/admin/app/templates/settings/labs.hbs | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/ghost/admin/app/services/feature.js b/ghost/admin/app/services/feature.js index 9883cc4e0a..1c041cf638 100644 --- a/ghost/admin/app/services/feature.js +++ b/ghost/admin/app/services/feature.js @@ -58,6 +58,7 @@ export default Service.extend({ membersActivity: feature('membersActivity', {developer: true}), cardSettingsPanel: feature('cardSettingsPanel', {developer: true}), membersAutoLogin: feature('membersAutoLogin', {developer: true}), + mediaAPI: feature('mediaAPI', {developer: true}), _user: null, diff --git a/ghost/admin/app/templates/settings/labs.hbs b/ghost/admin/app/templates/settings/labs.hbs index ecd3112840..1f02c5d013 100644 --- a/ghost/admin/app/templates/settings/labs.hbs +++ b/ghost/admin/app/templates/settings/labs.hbs @@ -299,6 +299,19 @@ + +
+
+
+

Media API

+

+ Enable media file uploads API +

+
+
+ +
+