From 17aaa7369751bceb916fc3fadba0f74df75e9dc7 Mon Sep 17 00:00:00 2001 From: xtian7489 Date: Mon, 13 May 2024 16:00:33 -0300 Subject: [PATCH] remove ssl-warning --- lib/layout/includes/ssl-warning.jade | 16 ---------------- lib/layout/index.jade | 2 -- 2 files changed, 18 deletions(-) delete mode 100644 lib/layout/includes/ssl-warning.jade diff --git a/lib/layout/includes/ssl-warning.jade b/lib/layout/includes/ssl-warning.jade deleted file mode 100644 index 2c2250c..0000000 --- a/lib/layout/includes/ssl-warning.jade +++ /dev/null @@ -1,16 +0,0 @@ -style. - .ssl-warning { - position: fixed; - bottom: 0; - padding: 15px; - width: 100%; - background-color: #c0392b; - } - - .ssl-warning a { - color: #fff; - } - -.ssl-warning - a(href='//docs.democracyos.org/configuration.html#ssl') - = t('header.insecure-warning') diff --git a/lib/layout/index.jade b/lib/layout/index.jade index 16b00e9..3aedc2c 100644 --- a/lib/layout/index.jade +++ b/lib/layout/index.jade @@ -43,8 +43,6 @@ html(lang=locale) include includes/analytics - - if (config.env !== 'development' && config.warnHTTP && config.protocol !== 'https') - include includes/ssl-warning //- //- Scripts