From 71888a82286cf9b78efdd06da98df16d88c73227 Mon Sep 17 00:00:00 2001 From: Dell Date: Mon, 25 Jul 2022 12:34:44 +0700 Subject: [PATCH] Fix .htaccess --- frontend/dashboard/.htaccess | 3 +++ public/client-portal/.htaccess | 3 +++ 2 files changed, 6 insertions(+) diff --git a/frontend/dashboard/.htaccess b/frontend/dashboard/.htaccess index 031b568c..c51178cd 100644 --- a/frontend/dashboard/.htaccess +++ b/frontend/dashboard/.htaccess @@ -1,4 +1,7 @@ RewriteEngine On RewriteBase / + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule (.*) /index.html [QSA,L] diff --git a/public/client-portal/.htaccess b/public/client-portal/.htaccess index 031b568c..c51178cd 100644 --- a/public/client-portal/.htaccess +++ b/public/client-portal/.htaccess @@ -1,4 +1,7 @@ RewriteEngine On RewriteBase / + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule (.*) /index.html [QSA,L]