From 9426f00490816c31a4e21fe40ebca6e44ee20bad Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Thu, 9 Jul 2020 18:22:35 +0200 Subject: [PATCH] Passwort --- .htpasswd | 1 - netlify.toml | 4 ++++ static/.htaccess | 4 ---- 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 .htpasswd create mode 100644 netlify.toml delete mode 100644 static/.htaccess diff --git a/.htpasswd b/.htpasswd deleted file mode 100644 index 34ec0914..00000000 --- a/.htpasswd +++ /dev/null @@ -1 +0,0 @@ -admin:$2y$10$JmET.FCeLoUu26obV9fuw.i2BUWU6VH6yF2PAcXF1gSlgxEpoCogG diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 00000000..fa530f08 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,4 @@ +[[headers]] + for = "/*" + [headers.values] + Basic-Auth = "admin:GCGCantorPassword" diff --git a/static/.htaccess b/static/.htaccess deleted file mode 100644 index a11ced19..00000000 --- a/static/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ -AuthType Basic -AuthName "Protected Site" -AuthUserFile ../.htpasswd -require valid-user