From c783797a9974d2656b4b604c30388dfea5549921 Mon Sep 17 00:00:00 2001 From: Sebin Nyshkim Date: Sat, 29 Jan 2022 00:01:18 +0100 Subject: [PATCH] feat: add .htaccess for in-app routing on apache-based web servers --- public/.htaccess | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 public/.htaccess diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..4dd8c31 --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,8 @@ + + RewriteEngine On + RewriteBase / + RewriteRule ^index\.html$ - [L] + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule . /index.html [L] +