feat: add .htaccess for in-app routing on apache-based web servers
This commit is contained in:
parent
cbccf762bd
commit
c783797a99
1 changed files with 8 additions and 0 deletions
8
public/.htaccess
Normal file
8
public/.htaccess
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<IfModule mod_rewrite.c>
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteBase /
|
||||||
|
RewriteRule ^index\.html$ - [L]
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule . /index.html [L]
|
||||||
|
</IfModule>
|
Loading…
Add table
Add a link
Reference in a new issue