disable node integration (#2049)

This commit is contained in:
Kendall Garner
2026-05-21 04:06:28 +00:00
committed by GitHub
parent 2d78c32a68
commit 2befcb4e74
4 changed files with 5 additions and 11 deletions
-3
View File
@@ -1,11 +1,8 @@
import { ElectronAPI } from '@electron-toolkit/preload';
import { PreloadApi } from './index';
declare global {
interface Window {
api: PreloadApi;
electron: ElectronAPI;
LEGACY_AUTHENTICATION?: boolean;
queryLocalFonts?: () => Promise<Font[]>;
REMOTE_URL?: string;