mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
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) {
|
dbot.modules.web.app.get('/api/:module/:method', function(req, res) {
|
||||||
|
Loading…
Reference in New Issue
Block a user