diff --git a/index.html b/index.html
index e4fdced..9b8ff7d 100644
--- a/index.html
+++ b/index.html
@@ -8,24 +8,24 @@
-
+
-
-
+
+
-
+
-
+
diff --git a/preflight.sh b/preflight.sh
index d35b758..746ed72 100755
--- a/preflight.sh
+++ b/preflight.sh
@@ -39,7 +39,7 @@ BAD_AVATAR=$(grep -rn "avatar:\s*[\"']/[a-zA-Z0-9]" src/ --include="*.jsx" --inc
if [ -n "$BAD_PATHS" ] || [ -n "$BAD_AVATAR" ]; then
echo " FOUT: Hardcoded asset paden gevonden zonder BASE_URL prefix!"
- echo " Deze werken lokaal maar breken op productie (/workshopclaudecode/)."
+ echo " Deze breken zodra Vite base path verandert (bijv. naar een sub-pad)."
echo ""
[ -n "$BAD_PATHS" ] && echo "$BAD_PATHS" | sed 's/^/ /'
[ -n "$BAD_AVATAR" ] && echo "$BAD_AVATAR" | sed 's/^/ /'
diff --git a/public/.htaccess b/public/.htaccess
deleted file mode 100644
index 8350a92..0000000
--- a/public/.htaccess
+++ /dev/null
@@ -1,13 +0,0 @@
-# SPA routing: stuur alle requests naar index.html
-# zodat React Router de routes /bedankt, /inschrijven etc. kan afhandelen
-
- RewriteEngine On
- RewriteBase /workshopclaudecode/
-
- # Als het bestand of directory bestaat, serveer het direct
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
-
- # Alles anders naar index.html
- RewriteRule ^ index.html [QSA,L]
-
diff --git a/vite.config.js b/vite.config.js
index 78cb164..6c976f9 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -3,12 +3,11 @@ import react from '@vitejs/plugin-react'
import { editorApiPlugin } from './vite-plugin-editor-api.js'
// https://vite.dev/config/
-// base path alleen voor production build, lokaal blijft het op /
// editorApiPlugin alleen actief in dev mode voor de Markdown editor
export default defineConfig(({ command }) => ({
plugins: [
react(),
command === 'serve' ? editorApiPlugin() : null,
].filter(Boolean),
- base: command === 'build' ? '/workshopclaudecode/' : '/',
+ base: '/',
}))