feat: log workflow API info
This commit is contained in:
@@ -9,3 +9,10 @@ import { readFile } from "../workflow-management/storage";
|
|||||||
|
|
||||||
export const router = Router();
|
export const router = Router();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Logs information about workflow API.
|
||||||
|
*/
|
||||||
|
router.all('/', (req, res, next) => {
|
||||||
|
logger.log('debug',`The workflow API was invoked: ${req.url}`)
|
||||||
|
next() // pass control to the next handler
|
||||||
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user