diff --git a/api.js b/api.js index b2450d3..4a4f514 100644 --- a/api.js +++ b/api.js @@ -10,7 +10,7 @@ let ready_ps = [] app.up().then(() => { ready = true - ready_ps.forEach(x => x()) + ready_ps.forEach(x => x(exports)) }) module.exports = exports = {