X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lmno.js;h=175fe6300472cd914c562d7271131d8024cf6281;hb=eec2fd5c7db6f39a9994fa620619ebf005d26064;hp=7c374eff600b32e5da09eedf9657b2732bb63114;hpb=20ab7f84abd07b744d0c73f0dd54879ff884e534;p=lmno-server diff --git a/lmno.js b/lmno.js index 7c374ef..175fe63 100644 --- a/lmno.js +++ b/lmno.js @@ -251,7 +251,7 @@ app.get('/admin/', auth_admin, (request, response) => { /* Mount sub apps. only _after_ we have done all the middleware we need. */ for (let key in engines) { const engine = engines[key]; - app.use(`/${engine.name}/[a-zA-Z0-9]{4}/`, engine.app); + app.use(`/${engine.name}/[a-zA-Z0-9]{4}/`, engine.router); } app.listen(4000, function () {