Skip to content

Commit

Permalink
fetching env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkiessl committed Aug 1, 2022
1 parent c265409 commit e0ab6e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shared/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
</div>
</div>
</div>
<%= render partial: '/matomo_analytics' if ENV['HOSTNAME'].match(/^etda-wf-/).present? %>
<%= render partial: '/matomo_analytics' if ENV.fetch('HOSTNAME', 'dev').match(/^etda-wf-/).present? %>
<%= render partial: 'shared/nav_bar' %>
</header>

0 comments on commit e0ab6e1

Please sign in to comment.