Update .htaccess to fix Chrome security warning

This commit is contained in:
Robbie Antenesse 2020-03-04 09:22:39 -07:00
parent 5fa06b31c2
commit 8d07a26d10
1 changed files with 3 additions and 0 deletions

View File

@ -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 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. RewriteRule ^view/([0-9]+)/([0-9]+)/?$ router.php?view=word&dict=$1&word=$2 [NC,L] # Handle word ids.