mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-01 04:23:30 +00:00
7 lines
220 B
TypeScript
7 lines
220 B
TypeScript
import * as z from "zod";
|
|
|
|
// In an Electron preload script, Content-Security-Policy only takes effect
|
|
// after the page has loaded, which breaks Zod's detection of whether eval is
|
|
// allowed.
|
|
z.config({jitless: true});
|