mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-15 04:13:47 +00:00
feat: allow download of current project
This commit is contained in:
@@ -2,6 +2,7 @@ import express from 'express';
|
||||
|
||||
import {
|
||||
createProjectFile,
|
||||
currentProjectDownload,
|
||||
deleteProjectFile,
|
||||
duplicateProjectFile,
|
||||
getInfo,
|
||||
@@ -23,6 +24,7 @@ import {
|
||||
|
||||
export const router = express.Router();
|
||||
|
||||
router.get('/', currentProjectDownload);
|
||||
router.post('/download', validateFilenameBody, projectDownload);
|
||||
router.post('/upload', uploadProjectFile, postProjectFile);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user