summaryrefslogtreecommitdiff
path: root/server/src/routes/content-api/index.js
blob: 5b4fd7c4c2756a434ad8d18e45b621a64a8b0e00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = () => ({
    type: 'content-api',
    routes: [
        {
            method: 'GET',
            path: '/',
            // name of the controller file & the method.
            handler: 'controller.index',
            config: {
                policies: [],
            },
        },
    ],
});