fix use of ENV -> FLASK_ENV to have correct prod/dev markers in navbar
This commit is contained in:
@@ -40,7 +40,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.FLASK_ENV == "production" %}
|
||||
<a class="navbar-brand" href="/">Books DB</a>
|
||||
{% else %}
|
||||
<a class="navbar-brand bg-secondary text-white px-2 py-0" style="border-radius:4px" href="/">Books (DEV)</a>
|
||||
|
||||
Reference in New Issue
Block a user