2021-10-14 14:37:00 +02:00
|
|
|
'use strict';
|
|
|
|
|
2024-11-06 11:59:15 +01:00
|
|
|
export default {
|
2021-10-14 14:37:00 +02:00
|
|
|
type: 'admin',
|
|
|
|
routes: [
|
|
|
|
{
|
2021-11-20 19:06:01 +01:00
|
|
|
method: "POST",
|
2021-10-14 14:37:00 +02:00
|
|
|
path: "/export",
|
|
|
|
handler: "config.exportAll",
|
|
|
|
config: {
|
|
|
|
policies: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
2021-11-20 19:06:01 +01:00
|
|
|
method: "POST",
|
2021-10-14 14:37:00 +02:00
|
|
|
path: "/import",
|
|
|
|
handler: "config.importAll",
|
|
|
|
config: {
|
|
|
|
policies: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
method: "GET",
|
|
|
|
path: "/diff",
|
|
|
|
handler: "config.getDiff",
|
|
|
|
config: {
|
|
|
|
policies: [],
|
|
|
|
},
|
|
|
|
},
|
2023-06-16 01:33:56 +02:00
|
|
|
{
|
|
|
|
method: "GET",
|
|
|
|
path: "/zip",
|
|
|
|
handler: "config.zipConfig",
|
|
|
|
config: {
|
|
|
|
policies: [],
|
|
|
|
},
|
|
|
|
},
|
2021-12-08 16:05:45 +01:00
|
|
|
{
|
|
|
|
method: "GET",
|
|
|
|
path: "/app-env",
|
|
|
|
handler: "config.getAppEnv",
|
|
|
|
config: {
|
|
|
|
policies: [],
|
|
|
|
},
|
|
|
|
},
|
2021-10-14 14:37:00 +02:00
|
|
|
],
|
|
|
|
};
|