mirror of
https://github.com/strapi/strapi.git
synced 2025-07-23 09:00:19 +00:00
26 lines
339 B
JavaScript
26 lines
339 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Upload.js controller
|
|
*
|
|
* @description: A set of functions called "actions" of the `upload` plugin.
|
|
*/
|
|
|
|
module.exports = {
|
|
|
|
/**
|
|
* Default action.
|
|
*
|
|
* @return {Object}
|
|
*/
|
|
|
|
index: async (ctx) => {
|
|
// Add your own logic here.
|
|
|
|
// Send 200 `ok`
|
|
ctx.send({
|
|
message: 'ok'
|
|
});
|
|
}
|
|
};
|