mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-12-11 18:41:12 -06:00
Updates htaccess
return 404 error if static assets does not exist
This commit is contained in:
parent
2ef330c62b
commit
ab6dff5c31
@ -10,5 +10,5 @@ RewriteRule .+ - [L]
|
|||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
# if static asset do not do anything
|
# if static asset do not do anything
|
||||||
RewriteRule (.*)(css|js|html|png|jpg|jpeg|json|gif|bmp|ico|json|csv|otf|eot|svg|svgz|ttf|woff|woff2|ijmap|pdf|tif|map)$ - [L]
|
RewriteRule (.*)(css|js|html|png|jpg|json|jpeg|gif|bmp|ico|json|csv|otf|eot|svg|svgz|ttf|woff|woff2|ijmap|pdf|tif|map)$ - [L,R=404]
|
||||||
RewriteRule (.*) /index.html [L]
|
RewriteRule (.*) /index.html [L]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user