import { defineConfig } from 'vite'; export default defineConfig({ server: { host: '192.168.1.3', port: 3000, https: false, // WebAuthn richiede HTTPS (usa certificati validi) allowedHosts: ['my.patachina2.casacam.net'], hmr: false, proxy: { // opzionale: se vuoi proxare /webauthn verso auth.patachina.it '/my': { target: 'https://auth.patachina.it', changeOrigin: true, secure: true, }, }, }, });