fix listsetting & http ssl options

This commit is contained in:
Henry Jameson 2025-12-08 13:50:08 +02:00
commit 5aed9a20b8
4 changed files with 30 additions and 14 deletions

View file

@ -106,6 +106,15 @@ const adminSettingsStorage = {
set(config, path, convert(c.value))
})
console.log('CONFIG', JSON.parse(JSON.stringify(config)))
// patching http adapter config to be easier to handle
const adapter = config[':pleroma'][':http'][':adapter']
if (Array.isArray(adapter)) {
config[':pleroma'][':http'][':adapter'] = {
[':ssl_options']: {
[':versions']: []
}
}
}
commit('updateAdminSettings', { config, modifiedPaths })
commit('resetAdminDraft')
},