added basic route for production

This commit is contained in:
2025-10-28 23:54:28 +01:00
parent 23f1dd7aa0
commit 663eb61352
2 changed files with 2 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ export default defineConfig(({ mode }) => {
sourcemap: isDevelopment ? 'inline' : false,
// Generate deterministic hashes for better caching and security
assetsDir: 'assets',
base: mode === 'production' ? '/' : '/',
rollupOptions: {
output: {
// Security: Use content hashes for cache busting and integrity