Initial commit
This commit is contained in:
24
public/.htaccess
Normal file
24
public/.htaccess
Normal file
@ -0,0 +1,24 @@
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
RewriteRule ^index\.html$ - [L]
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-l
|
||||
RewriteRule . /index.html [L]
|
||||
|
||||
# Enable GZIP compression
|
||||
<IfModule mod_deflate.c>
|
||||
AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css text/javascript application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_mime.c>
|
||||
AddType application/javascript .js
|
||||
AddType application/json .json
|
||||
AddType text/javascript .mjs
|
||||
AddType text/css .css
|
||||
AddType text/html .html .htm
|
||||
AddType image/svg+xml .svg
|
||||
AddType application/x-font-ttf .ttf
|
||||
AddType application/x-font-woff .woff
|
||||
AddType application/x-font-woff2 .woff2
|
||||
</IfModule>
|
||||
Reference in New Issue
Block a user