From a96a6ee27985c1bf2769408e45debf69584789fc Mon Sep 17 00:00:00 2001 From: mikael-zakaria Date: Thu, 19 Feb 2026 16:42:03 +0700 Subject: [PATCH] build fix --- .gitignore | 4 +++- static/.htaccess | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 static/.htaccess diff --git a/.gitignore b/.gitignore index fb4965f..37d8ab4 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,6 @@ vite.config.js.timestamp-* vite.config.ts.timestamp-* /.claude -/.serenastatic/config.json +/.serena + +static/config.json diff --git a/static/.htaccess b/static/.htaccess new file mode 100644 index 0000000..b7f4a2b --- /dev/null +++ b/static/.htaccess @@ -0,0 +1,11 @@ + + RewriteEngine On + RewriteBase / + + # If the requested filename/directory does not exist + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + + # Rewrite all traffic to index.html + RewriteRule ^(.*)$ /index.html [L] +