You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
crontab-ui/routes.js

21 lines
621 B

exports.routes = {
"root" : "/",
"save" : "/save",
"run" : "/runjob",
10 years ago
"crontab" : "/crontab",
"stop" : "/stop",
"start" : "/start",
"remove": "/remove",
"backup": "/backup",
10 years ago
"restore": "/restore",
"delete_backup": "/delete",
10 years ago
"restore_backup": "/restore_backup",
"export": "/export",
"import": "/import", // this is import from database
"import_crontab": "/import_crontab", // this is from existing crontab
"logger": "/logger",
"stdout": "/stdout",
8 years ago
};
exports.relative = Object.keys(exports.routes).reduce((p, c) => ({...p, [c]: exports.routes[c].replace(/^\//, '')}), {});
exports.relative["root"] = ".";