summaryrefslogtreecommitdiff
path: root/files/virtual_host.cfg.lua.j2
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2025-09-27 23:24:43 +0100
committerMatthew Fennell <matthew@fennell.dev>2025-09-27 23:24:43 +0100
commitf09d9f004f270fa39b56d39daa03419a54828838 (patch)
treea1d305e18824a9088cd0ee3d8cc7bcd2586a3f89 /files/virtual_host.cfg.lua.j2
parent8342cee86a8195a898cfdff443156e53ad7ccbbe (diff)
Add separators in privileged_entities list
The template worked fine for singleton lists, but it fails when adding another entry since there is no separator between the elements! Thankfully Lua has some nice syntax allowing you to use a semicolon as a separator, which doesn't by itself imply more than one element.
Diffstat (limited to 'files/virtual_host.cfg.lua.j2')
-rw-r--r--files/virtual_host.cfg.lua.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/files/virtual_host.cfg.lua.j2 b/files/virtual_host.cfg.lua.j2
index 8763082..2051c92 100644
--- a/files/virtual_host.cfg.lua.j2
+++ b/files/virtual_host.cfg.lua.j2
@@ -64,7 +64,7 @@ privileged_entities = {
["http://jabber.org/protocol/pubsub"] = "both";
["http://jabber.org/protocol/pubsub#owner"] = "set";
};
- }
+ };
{% endfor %}
}