From af3d428637116e1a8c6f166a6c6b35ca89cbefd6 Mon Sep 17 00:00:00 2001 From: Arturo Date: Mon, 1 May 2023 15:59:57 -0700 Subject: [PATCH] Added Apache .htaccess file to handle routing. Per official docs: https://create-react-app.dev/docs/deployment/#serving-apps-with-client-side-routing --- example/public/.htaccess | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 example/public/.htaccess diff --git a/example/public/.htaccess b/example/public/.htaccess new file mode 100644 index 0000000..62d0312 --- /dev/null +++ b/example/public/.htaccess @@ -0,0 +1,4 @@ +Options -MultiViews +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteRule ^ index.html [QSA,L]