From e7a48881c22bac9c00c44f346e29169d46e0fa26 Mon Sep 17 00:00:00 2001 From: Ajmal S <23806715+AjmalShajahan@users.noreply.github.com> Date: Sat, 25 Apr 2026 17:46:26 +0530 Subject: [PATCH] fix: add staticwebapp.config.json for navigation fallback This configuration file sets up a navigation fallback to rewrite requests to /index.html, which fixes the 404's on refresh. --- staticwebapp.config.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 staticwebapp.config.json diff --git a/staticwebapp.config.json b/staticwebapp.config.json new file mode 100644 index 0000000..e094983 --- /dev/null +++ b/staticwebapp.config.json @@ -0,0 +1,5 @@ +{ + "navigationFallback": { + "rewrite": "/index.html" + } +}