fix BUG-51, its ENV not env and production not Production

This commit is contained in:
2021-09-13 17:54:59 +10:00
parent 2f5e3a4d40
commit 5bb2195239

View File

@@ -51,7 +51,7 @@
<nav class="navbar navbar-expand-lg navbar-light bg-light justify-content-between py-1">
<div class="container-fluid">
{% if config.env == "Production" %}
{% if config.ENV == "production" %}
<a class="navbar-brand" href="/">Photo Assistant</a>
{% else %}
<a class="navbar-brand bg-secondary text-white px-2 py-0" style="border-radius:4px" href="/">PA (DEV)</a>