sync & async api
This commit is contained in:
12
routes/api/index.js
Normal file
12
routes/api/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import express from 'express';
|
||||
import workflow from './workflow.js';
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
router.get("/", function (req, res, next) {
|
||||
res.status(501).json({"Error": "Unfinished Endpoint"});
|
||||
});
|
||||
|
||||
router.use("/workflow", workflow);
|
||||
|
||||
export default router;
|
||||
Reference in New Issue
Block a user