feat: enhance player and statistic card components with improved layout and dynamic duration display
Some checks failed
Frontend CI / lint (push) Failing after 18s
Frontend CI / build (push) Has been skipped

This commit is contained in:
JSC
2025-08-16 12:24:56 +02:00
parent f6117ededd
commit ecb17e9f94
4 changed files with 22 additions and 8 deletions

View File

@@ -26,6 +26,21 @@ export default defineConfig({
outDir: 'dist',
sourcemap: false, // Disable source maps in production for security
},
// Preview server configuration (for testing built version)
preview: {
port: 8001,
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
},
'/socket.io': {
target: 'http://localhost:8000',
changeOrigin: true,
ws: true,
},
},
},
// For reverse proxy deployment, ensure assets are served from root
base: '/',
})