Edit htaccess file
This commit is contained in:
parent
56246c9362
commit
2ca8a29b27
1 changed files with 2 additions and 2 deletions
|
@ -5,11 +5,11 @@
|
|||
RewriteEngine on
|
||||
|
||||
# Block files and folders beginning with a dot, such as .git except for the .well-known folder, which is used for Let's Encrypt and security.txt
|
||||
RewriteRule (^|/)\.(?!well-known\/) index.html [L]
|
||||
RewriteRule (^|/)\.(?!well-known\/) index.mjs [L]
|
||||
|
||||
# Make site links work
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^(.*) index.html [L]
|
||||
RewriteRule ^(.*) index.mjs [L]
|
||||
|
||||
</IfModule>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue