forked from GitHub/dbot
load the right route api
This commit is contained in:
parent
0a8ad1e468
commit
1e01aeb146
@ -17,7 +17,7 @@ var api = function(dbot) {
|
||||
});
|
||||
});
|
||||
|
||||
res.render('api', { 'name': dbot.config.name, 'api': externalApi });
|
||||
res.render('api/api', { 'name': dbot.config.name, 'api': externalApi });
|
||||
});
|
||||
|
||||
dbot.modules.web.app.get('/api/:module/:method', function(req, res) {
|
||||
|
Loading…
Reference in New Issue
Block a user