diff --git a/core/server/web/api/v2/content/routes.js b/core/server/web/api/v2/content/routes.js index 0b8bbd5e32..24916e1fed 100644 --- a/core/server/web/api/v2/content/routes.js +++ b/core/server/web/api/v2/content/routes.js @@ -1,14 +1,10 @@ const express = require('express'); -const api = require('../../../../api'); const apiv2 = require('../../../../api/v2'); const mw = require('./middleware'); module.exports = function apiRoutes() { const router = express.Router(); - // ## Configuration - router.get('/configuration', api.http(api.configuration.read)); - // ## Posts router.get('/posts', mw.authenticatePublic, apiv2.http(apiv2.posts.browse)); router.get('/posts/:id', mw.authenticatePublic, apiv2.http(apiv2.posts.read));