From 8d07a26d104ab4c09dfb45b13453c889fb564029 Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Wed, 4 Mar 2020 09:22:39 -0700 Subject: [PATCH] Update .htaccess to fix Chrome security warning --- src/php/.htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/php/.htaccess b/src/php/.htaccess index 1840d1c..20258c8 100644 --- a/src/php/.htaccess +++ b/src/php/.htaccess @@ -1,3 +1,6 @@ +# To resolve the issue with "Your connection to this site is not secure" message +Header set Content-Security-Policy: upgrade-insecure-requests env=HTTPS + RewriteEngine On # Turn on the rewriting engine RewriteRule ^view/([0-9]+)/([0-9]+)/?$ router.php?view=word&dict=$1&word=$2 [NC,L] # Handle word ids.