shouldn't that be app.use(apiEntryPointUrlV1 + 'render/:id', renderMap.middleware); ?