Files
pevnitskyparitshith184 f456aca92c v1.5.2: true E2E session encryption, auto-backup, stability fixes
- X25519 session key exchange (Ed25519-signed, TOFU for new devices);
  messages, voice, file chunks now AES-256-GCM encrypted on the wire
- Fix get_messages deadlock with file/image/voice messages
- Fix upsert_device wiping ip/port/avatar; upsert_conversation preserves unread/pinned/muted
- Fix route scan replies (Hello alias registration) and cap scan at 4096 hosts
- File transfer: size caps, SHA-256 verification on receive
- Auto-backup with master-key-derived backup key + rotation; backups now include attachments; import falls back to internal backup key
- Lock on system sleep / window blur; clipboard clear honors configured delay
- CSP: allow media-src for voice playback; async long-running commands; configurable listen port
2026-11-05 13:34:23 +08:00

21 lines
524 B
TypeScript
Executable File

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
// @ts-expect-error process is a nodejs global
const host = process.env.TAURI_DEV_HOST;
export default defineConfig(async () => ({
plugins: [react(), tailwindcss()],
clearScreen: false,
server: {
port: 1430,
strictPort: true,
host: host || false,
hmr: host
? { protocol: "ws", host, port: 1431 }
: undefined,
watch: { ignored: ["**/src-tauri/**"] },
},
}));