3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00

load the right route api

This commit is contained in:
reality 2013-05-17 14:15:59 +00:00
parent 0a8ad1e468
commit 1e01aeb146

View File

@ -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) {