add debug mode warning

This commit is contained in:
b1ek 2023-03-05 17:41:32 +10:00
parent 739295b162
commit 24598c2068
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 7 additions and 0 deletions

View File

@ -33,6 +33,13 @@ html(style='overflow-y:auto' lang='en_US')
block head
body(style='overflow-y:auto')
if (process.env.APP_DEBUG == 'true')
p(style='color:darkred;font-weight:bold;font-size:16pt;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;pointer-events:none;opacity:0.25')
| Warning: THE WEBSITE IS IN DEBUG MODE!
br
| If the site is running in production, please
br
| contact the maintainer and notify them of the issue.
table(width='100%' height='100%' class='body_table')
tr
td(class='side_menu')