diff --git a/core/frontend/web/site.js b/core/frontend/web/site.js index dfe75b488a..72401409d9 100644 --- a/core/frontend/web/site.js +++ b/core/frontend/web/site.js @@ -118,7 +118,7 @@ module.exports = function setupSiteApp(options = {}) { // Serve blog images using the storage adapter siteApp.use(STATIC_IMAGE_URL_PREFIX, mw.handleImageSizes, storage.getStorage('images').serve()); // Serve blog media using the storage adapter - siteApp.use(STATIC_MEDIA_URL_PREFIX, labs.enabledMiddleware('mediaAPI'), storage.getStorage('media').serve()); + siteApp.use(STATIC_MEDIA_URL_PREFIX, storage.getStorage('media').serve()); // Serve blog files using the storage adapter siteApp.use(STATIC_FILES_URL_PREFIX, labs.enabledMiddleware('filesAPI'), storage.getStorage('files').serve()); diff --git a/core/server/web/api/canary/admin/routes.js b/core/server/web/api/canary/admin/routes.js index d07a162cbb..275c4db856 100644 --- a/core/server/web/api/canary/admin/routes.js +++ b/core/server/web/api/canary/admin/routes.js @@ -238,14 +238,12 @@ module.exports = function apiRoutes() { // ## media router.post('/media/upload', - labs.enabledMiddleware('mediaAPI'), mw.authAdminApi, apiMw.upload.media('file', 'thumbnail'), apiMw.upload.mediaValidation({type: 'media'}), http(api.media.upload) ); router.put('/media/thumbnail/upload', - labs.enabledMiddleware('mediaAPI'), mw.authAdminApi, apiMw.upload.single('file'), apiMw.upload.validation({type: 'images'}), diff --git a/core/shared/labs.js b/core/shared/labs.js index 199548c69f..0b18b139a1 100644 --- a/core/shared/labs.js +++ b/core/shared/labs.js @@ -15,7 +15,6 @@ const messages = { // flags in this list always return `true`, allows quick global enable prior to full flag removal const GA_FEATURES = [ - 'mediaAPI', 'membersAutoLogin', 'filesAPI', 'fileCard',