From d6105f900fa1b00971a673a0b7dd77864ecada6c Mon Sep 17 00:00:00 2001 From: Yiwen Date: Mon, 29 Aug 2022 21:53:08 +0100 Subject: [PATCH] address refresh 404 issue --- src/.htaccess | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/.htaccess diff --git a/src/.htaccess b/src/.htaccess new file mode 100644 index 0000000..0a1e562 --- /dev/null +++ b/src/.htaccess @@ -0,0 +1,7 @@ +RewriteEngine On +RewriteBase / +RewriteRule ^index.html$ - [L] +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME} !-l +RewriteRule . /index.html [L]