16 lines
390 B
JavaScript
16 lines
390 B
JavaScript
"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: [],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
],
|
||
|
|
});
|