mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 10:34:17 +00:00
pass endpoint reachability on complex controllers
This commit is contained in:
parent
81503da885
commit
97f38ce73d
@ -45,6 +45,7 @@ export default class ComplexController {
|
|||||||
if (typeof fn === "object") {
|
if (typeof fn === "object") {
|
||||||
endpoint.middlewares = fn.middlewares
|
endpoint.middlewares = fn.middlewares
|
||||||
endpoint.fn = fn.fn
|
endpoint.fn = fn.fn
|
||||||
|
endpoint.enabled = fn.enabled
|
||||||
}
|
}
|
||||||
|
|
||||||
endpoint.fn = this.createHandler(endpoint.fn)
|
endpoint.fn = this.createHandler(endpoint.fn)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user