diff --git a/nodejs/conf/base.js b/nodejs/conf/base.js index 8e3df65..cebbce7 100644 --- a/nodejs/conf/base.js +++ b/nodejs/conf/base.js @@ -2,6 +2,8 @@ // Using https://github.com/simpleworkjs/conf to handle configuration module.exports = { + name: "Dynamic Proxy", // displayed in the UI + logo: "/static/img/theta42.svg", // shown in the nav; point at your own file under public/ (or an absolute URL) to white-label userModel: 'redis', // pam, redis, ldap ldap: { url: 'ldap://192.168.1.55:389', diff --git a/nodejs/routes/docs.js b/nodejs/routes/docs.js index 93d678d..fec29ad 100644 --- a/nodejs/routes/docs.js +++ b/nodejs/routes/docs.js @@ -22,6 +22,8 @@ const docsLimiter = rateLimit({ const values = { title: conf.environment !== 'production' ? `dev` : '', titleIcon: conf.environment !== 'production' ? `` : '', + name: conf.name, + logo: conf.logo, ...buildInfo, }; diff --git a/nodejs/routes/render.js b/nodejs/routes/render.js index 6f592fc..a5c8746 100644 --- a/nodejs/routes/render.js +++ b/nodejs/routes/render.js @@ -9,6 +9,8 @@ const buildInfo = require('../utils/build_info'); const values ={ title: conf.environment !== 'production' ? `dev` : '', titleIcon: conf.environment !== 'production' ? `` : '', + name: conf.name, + logo: conf.logo, ...buildInfo, } diff --git a/nodejs/views/top.ejs b/nodejs/views/top.ejs index 06cdcfd..75cf0dd 100755 --- a/nodejs/views/top.ejs +++ b/nodejs/views/top.ejs @@ -3,7 +3,7 @@
-