From efa89313fa4152252b477aafd88f7cf4a66747d8 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 5 Feb 2026 10:19:56 +0000 Subject: Initial Strapi plugin project --- server/src/routes/content-api/index.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 server/src/routes/content-api/index.ts (limited to 'server/src/routes/content-api/index.ts') diff --git a/server/src/routes/content-api/index.ts b/server/src/routes/content-api/index.ts new file mode 100644 index 0000000..5c96dcf --- /dev/null +++ b/server/src/routes/content-api/index.ts @@ -0,0 +1,14 @@ +export default () => ({ + type: 'content-api', + routes: [ + { + method: 'GET', + path: '/', + // name of the controller file & the method. + handler: 'controller.index', + config: { + policies: [], + }, + }, + ], +}); -- cgit v1.2.3