From 51ca820dfabb8ee6b60b258c51c0b0f76ff24638 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 34ec091..0000000 --- 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 0000000..fa530f0 --- /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 a11ced1..0000000 --- a/static/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ -AuthType Basic -AuthName "Protected Site" -AuthUserFile ../.htpasswd -require valid-user