We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad2f8ba commit 23e0282Copy full SHA for 23e0282
static/.htaccess
@@ -2,8 +2,11 @@
2
RewriteEngine On
3
RewriteBase /
4
5
- # Redirect all requests to index.html except for actual files and directories
+ # If the request is not for an actual file or directory
6
RewriteCond %{REQUEST_FILENAME} !-f
7
RewriteCond %{REQUEST_FILENAME} !-d
8
- RewriteRule ^ index.html [L]
+
9
+ # Append .html to the request if it's missing
10
+ RewriteCond %{REQUEST_URI} !\.html$
11
+ RewriteRule ^(.+)$ $1.html [L]
12
</IfModule>
0 commit comments