mirror of
https://github.com/zadam/trilium.git
synced 2025-11-26 02:24:23 +01:00
Add default value for CORSRESOURCEPOLICY
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
parent
4b574cecf7
commit
d1d652495d
@ -369,7 +369,7 @@ const configMapping = {
|
|||||||
standardEnvVar: 'TRILIUM_NETWORK_CORSRESOURCEPOLICY',
|
standardEnvVar: 'TRILIUM_NETWORK_CORSRESOURCEPOLICY',
|
||||||
aliasEnvVars: ['TRILIUM_NETWORK_CORS_RESOURCE_POLICY'],
|
aliasEnvVars: ['TRILIUM_NETWORK_CORS_RESOURCE_POLICY'],
|
||||||
iniGetter: () => getIniSection("Network")?.corsResourcePolicy,
|
iniGetter: () => getIniSection("Network")?.corsResourcePolicy,
|
||||||
defaultValue: ''
|
defaultValue: 'same-origin'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Session: {
|
Session: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user