mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-11-30 22:45:46 +01:00
added basic route for production
This commit is contained in:
@@ -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 = () => {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user