mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2024-12-21 19:08:24 +01:00
15 lines
424 B
JavaScript
15 lines
424 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) {
|
|
// TODO: Implement root api endpoint
|
|
res.status(501).json({"Error": "Unfinished Endpoint. This sould probably send some api docs?"});
|
|
});
|
|
|
|
router.use("/workflow", workflow);
|
|
|
|
export default router; |