mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 01:20:24 +03:00
Updated htaccess to meet required functions.
If a file gets called it will be redirected to index.html But not if it the requested File does contain a dot (and with this does have a file extension. If you call: links.domain.de/notexistingfile.jpg It will trigger 404 If you call: links.domain.de/server/[CODE-CODE-CODE]/list-short-urls/1 It will redirect the call to index.html
This commit is contained in:
parent
cefd6ec752
commit
72e71aff40
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^.*$ /index.html [L]
|
||||
RewriteRule /[^/.]+$ /index.html [L]
|
||||
|
|
Loading…
Reference in a new issue