From 5c002d9441a6dd7208843c629830295b2c53810b Mon Sep 17 00:00:00 2001 From: FALKE JANOS <janos.falke@etu.unistra.fr> Date: Tue, 30 Nov 2021 13:05:12 +0000 Subject: [PATCH] Add .htaccess --- frontend/public/.htaccess | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 frontend/public/.htaccess diff --git a/frontend/public/.htaccess b/frontend/public/.htaccess new file mode 100644 index 0000000..22480da --- /dev/null +++ b/frontend/public/.htaccess @@ -0,0 +1,9 @@ +<IfModule mod_rewrite.c> + RewriteEngine On + RewriteBase / + RewriteRule ^index\.html$ - [L] + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-l + RewriteRule . /index.html [L] +</IfModule> -- GitLab