💞 pluginOnlyPolicy.ts

This commit is contained in:
nirholas
2026-03-31 10:24:28 +00:00
parent b6f1eb7b1c
commit bf13ae108e

View File

@@ -58,3 +58,4 @@ const ADMIN_TRUSTED_SOURCES: ReadonlySet<string> = new Set([
export function isSourceAdminTrusted(source: string | undefined): boolean { export function isSourceAdminTrusted(source: string | undefined): boolean {
return source !== undefined && ADMIN_TRUSTED_SOURCES.has(source) return source !== undefined && ADMIN_TRUSTED_SOURCES.has(source)
} }