UNPKG
@xtcry/bull-arena
Version:
latest (3.31.0-1)
3.31.0-1
An interactive UI dashboard for Bee/Bull Queue
github.com/xTCry/bull-arena
xTCry/bull-arena
@xtcry/bull-arena
/
dist
/
server
/
controllers
/
dashboard
/
flowList.js
10 lines
(9 loc)
•
320 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
async
function
handler
(
req, res
) {
const
{
Flows
} = req.
app
.
locals
;
const
flows =
Flows
.
list
();
const
basePath = req.
baseUrl
;
return
res.
render
(
'dashboard/flowList'
, { basePath, flows }); }
exports
.
default
= handler;