mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
9 lines
495 B
TypeScript
9 lines
495 B
TypeScript
import type { CustomScheme } from "electron"
|
|
|
|
import { previewScheme } from "./browser/scheme"
|
|
|
|
// Registered before app.ready. Only the owning plugin's partition installs a handler. In particular the scheme
|
|
// is not local, cannot bypass CSP, and does not support service workers or persistent background registrations.
|
|
export const schemes: CustomScheme[] = [
|
|
{ scheme: previewScheme, privileges: { standard: true, secure: true, supportFetchAPI: true, corsEnabled: true, stream: true } },
|
|
]
|