feat: enhance player and statistic card components with improved layout and dynamic duration display
This commit is contained in:
@@ -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: '/',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user