knoxis-helper 1.4.10 → 1.4.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -46,6 +46,7 @@ const ALLOWED_ORIGINS = (process.env.KNOXIS_ALLOWED_ORIGINS || '')
|
|
|
46
46
|
.map(origin => origin.trim())
|
|
47
47
|
.filter(Boolean);
|
|
48
48
|
// Merge custom origins with trusted ones
|
|
49
|
+
const ALL_ALLOWED_ORIGINS = Array.from(new Set([...TRUSTED_ORIGINS, ...ALLOWED_ORIGINS]));
|
|
49
50
|
|
|
50
51
|
/**
|
|
51
52
|
* Collect Maker-related Markdown documents for persistence and syncing.
|