shaping.lua: swap precedence of domain vs. site

This commit is contained in:
Wez Furlong
2023-04-25 14:59:05 -07:00
parent 8f0e60f397
commit 767ccef87f
+2 -2
View File
@@ -86,8 +86,8 @@ function mod:setup_json()
local by_site = data.by_site[site_name]
local by_domain = data.by_domain[domain]
-- site config takes precedence over domain config
local options = by_site or by_domain
-- domain config takes precedence over shared site config
local options = by_domain or by_site
local params = {}
-- apply basic/default configuration