strapi-plugin-config-sync/server/routes/admin.js

32 lines
484 B
JavaScript
Raw Normal View History

2021-10-14 14:37:00 +02:00
'use strict';
module.exports = {
type: 'admin',
routes: [
{
method: "GET",
path: "/export",
handler: "config.exportAll",
config: {
policies: [],
},
},
{
method: "GET",
path: "/import",
handler: "config.importAll",
config: {
policies: [],
},
},
{
method: "GET",
path: "/diff",
handler: "config.getDiff",
config: {
policies: [],
},
},
],
};