mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 12:53:32 +00:00
Project manager (#697)
* Project manager: Load, Rename, Duplicate (#712) * Project Manager: Create, Delete (#723)
This commit is contained in:
@@ -122,7 +122,7 @@ router.post('/new', projectSanitiser, postNew);
|
||||
router.get('/projects', listProjects);
|
||||
|
||||
// create route between controller and '/ontime/load-project' endpoint
|
||||
router.post('/load-project', validateLoadProjectFile, loadProject);
|
||||
router.post('/load-project', validateLoadProjectFile, sanitizeProjectFilename, loadProject);
|
||||
|
||||
// create route between controller and '/ontime/project/:filename/duplicate' endpoint
|
||||
router.post('/project/:filename/duplicate', validateProjectDuplicate, sanitizeProjectFilename, duplicateProjectFile);
|
||||
|
||||
Reference in New Issue
Block a user