mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 03:33:07 +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) {
|
||||
|
Loading…
Reference in New Issue
Block a user