From d0866bf0f86440d3b91104a9817a8da830ed2bc8 Mon Sep 17 00:00:00 2001 From: sandhiya-hepl Date: Fri, 17 Jul 2026 17:53:37 +0530 Subject: [PATCH] build file --- dist/.htaccess | 8 ++++++++ public/.htaccess | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/dist/.htaccess b/dist/.htaccess index e69de29..3a73a5f 100644 --- a/dist/.htaccess +++ b/dist/.htaccess @@ -0,0 +1,8 @@ +Options -MultiViews +RewriteEngine On + +# SPA fallback — serve index.html for non-file requests under /citpl_website +RewriteBase /citpl_website/ +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^ index.html [L] diff --git a/public/.htaccess b/public/.htaccess index e69de29..3a73a5f 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -0,0 +1,8 @@ +Options -MultiViews +RewriteEngine On + +# SPA fallback — serve index.html for non-file requests under /citpl_website +RewriteBase /citpl_website/ +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^ index.html [L]