build fix

This commit is contained in:
mikael-zakaria 2026-02-19 16:42:03 +07:00
parent 2e2e65a9f4
commit a96a6ee279
2 changed files with 14 additions and 1 deletions

4
.gitignore vendored
View File

@ -23,4 +23,6 @@ vite.config.js.timestamp-*
vite.config.ts.timestamp-*
/.claude
/.serenastatic/config.json
/.serena
static/config.json

11
static/.htaccess Normal file
View File

@ -0,0 +1,11 @@
<IfModule mod_rewrite.c>
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]
</IfModule>