strapi-plugin-config-sync/controllers/config.js

26 lines
339 B
JavaScript
Raw Normal View History

2021-03-19 19:04:22 +01:00
'use strict';
/**
* config.js controller
*
* @description: A set of functions called "actions" of the `config` plugin.
*/
module.exports = {
/**
* Default action.
*
* @return {Object}
*/
index: async (ctx) => {
// Add your own logic here.
// Send 200 `ok`
ctx.send({
message: 'ok'
});
}
};