Skip to content

Instantly share code, notes, and snippets.

@TimvanScherpenzeel
Created May 8, 2019 13:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TimvanScherpenzeel/5a827f8dd2126c04c975d0edd5f7fc84 to your computer and use it in GitHub Desktop.
Save TimvanScherpenzeel/5a827f8dd2126c04c975d0edd5f7fc84 to your computer and use it in GitHub Desktop.
Client side routing fix on reload
# BEGIN ROUTING
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [QSA,L]
# END ROUTING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment