this repo has no description

Fix Uint8Array type error breaking Docker build

TypeScript 5.7+ makes Uint8Array generic over its buffer type.
Pass .buffer as ArrayBuffer to pushManager.subscribe() to fix
the type incompatibility with BufferSource.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+1 -1
+1 -1
web/src/hooks/usePushNotifications.ts
··· 68 68 const registration = await navigator.serviceWorker.ready; 69 69 const subscription = await registration.pushManager.subscribe({ 70 70 userVisibleOnly: true, 71 - applicationServerKey, 71 + applicationServerKey: applicationServerKey.buffer as ArrayBuffer, 72 72 }); 73 73 74 74 const json = subscription.toJSON();