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

26 lines
339 B
JavaScript

'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'
});
}
};