Skip to content

Get Environment for header badge from config table in db#3301

Merged
entrotech merged 1 commit into
developfrom
3298-get-env-from-db
Jun 12, 2026
Merged

Get Environment for header badge from config table in db#3301
entrotech merged 1 commit into
developfrom
3298-get-env-from-db

Conversation

@entrotech

@entrotech entrotech commented Jun 12, 2026

Copy link
Copy Markdown
Member

What changes did you make?

  • Modified code for putting an environment badge in the application header to indicate the environment to get the environment from the Config table in the database (instead of trying to deduce the environment from a node environment variable or the url hostname,

Why did you make the changes (we will use this info to test)?

  • It is a more robust was to determine the environment.
  • The production environment does not display a badge, but other environments display the value for the "ENVIRONMENT" entry in the Config file in the database.

Issue-Specific User Account

(any)

Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)

Visuals before changes are applied image
Visuals after changes are applied image

@entrotech entrotech merged commit 152156b into develop Jun 12, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant