This commit is contained in:
2025-06-01 04:04:16 +02:00
parent ff79ad9376
commit 31496b9cab

View File

@@ -12,10 +12,13 @@ export default defineConfig({
},
},
server: {
host: true, // Allow external connections
host: '0.0.0.0', // Listen on all interfaces
port: 5173,
allowedHosts: ['dockervm', 'localhost', '127.0.0.1'], // Add your specific hosts
// Or use this for development (less secure but simpler):
// host: '0.0.0.0'
allowedHosts: [
'dockervm',
'localhost',
'127.0.0.1',
'store.felo.gg' // Add your domain
],
}
})