Compare commits

...

1 Commits

Author SHA1 Message Date
663eb61352 added basic route for production 2025-10-28 23:54:28 +01:00
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
// frontend/src/pages/Features/Features.tsx // frontend/src/components/Layou/FooterLinks/Features/Features.tsx
import React from 'react'; import React from 'react';
const Features: React.FC = () => { const Features: React.FC = () => {

View File

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