merge other config values

This commit is contained in:
Pierce 2022-08-21 17:07:08 -04:00
parent 23e8989ee7
commit d91edde8ac
No known key found for this signature in database
GPG Key ID: EC79465B0E865E47

View File

@ -25,6 +25,7 @@ end
function CFCHTTP.mergeConfigs(old, new)
if new.version == "1" then
old.wrapHTMLPanels = new.wrapHTMLPanels
for domain, options in pairs(new.addresses) do
local currentOptions = old.addresses[domain]
if currentOptions and currentOptions.permanent then