Stirling-PDF/routes/api/index.js
2023-10-20 00:10:03 +02:00

14 lines
342 B
JavaScript

import express from 'express';
import workflow from './workflow.js';
import fileUpload from 'express-fileupload';
const router = express.Router();
router.use(fileUpload());
router.get("/", function (req, res, next) {
res.status(501).json({"Error": "Unfinished Endpoint"});
});
router.use("/workflow", workflow);
export default router;