Stirling-PDF/routes/api/index.js

14 lines
342 B
JavaScript
Raw Normal View History

2023-10-19 19:46:23 +02:00
import express from 'express';
import workflow from './workflow.js';
2023-10-20 00:10:03 +02:00
import fileUpload from 'express-fileupload';
2023-10-19 19:46:23 +02:00
const router = express.Router();
2023-10-20 00:10:03 +02:00
router.use(fileUpload());
2023-10-19 19:46:23 +02:00
router.get("/", function (req, res, next) {
res.status(501).json({"Error": "Unfinished Endpoint"});
});
router.use("/workflow", workflow);
export default router;