fix listsetting & http ssl options
This commit is contained in:
parent
e961b6e14c
commit
5aed9a20b8
4 changed files with 30 additions and 14 deletions
|
|
@ -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')
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue