diff --git a/config/env.js b/config/env.js index 09ec03c..86630b0 100644 --- a/config/env.js +++ b/config/env.js @@ -77,6 +77,9 @@ function getClientEnvironment(publicUrl) { // This should only be used as an escape hatch. Normally you would put // images into the `src` and `import` them in code to get their paths. PUBLIC_URL: publicUrl, + + RADAR_NAME: process.env.RADAR_NAME || 'AOE Technology Radar', + // We support configuring the sockjs pathname during development. // These settings let a developer run multiple simultaneous projects. // They are used as the connection `hostname`, `pathname` and `port` diff --git a/public/index.html b/public/index.html index 927a36e..6380c48 100644 --- a/public/index.html +++ b/public/index.html @@ -4,15 +4,15 @@ - + - + - AOE Technology Radar + %RADAR_NAME% diff --git a/src/config.ts b/src/config.ts index b9e6e3a..ec8a5dd 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,7 +1,7 @@ import { Item } from './model'; -export const radarName = 'AOE Technology Radar'; -export const radarNameShort = 'Technology Radar'; +export const radarName = process.env.RADAR_NAME || 'AOE Technology Radar' +export const radarNameShort = radarName; export const quadrants = [ 'languages-and-frameworks',