aproxy/conf.lua
Claude c01c6d0ba1 Change wantedScripts to ordered list format
This ensures scripts execute in the order they appear in the config file,
resolving the TODO in the README. The config format has been changed from
a table with script names as keys to an ordered list of script entries.

Changes:
- ctx.lua: Use ipairs() instead of pairs() to iterate in order
- config.lua: Update validation to handle new list structure
- conf.lua: Update example config to use new format
- README.md: Remove TODO and clarify execution order

New config format:
wantedScripts = {
    {name = 'script1', config = {...}},
    {name = 'script2', config = {...}}
}
2025-11-23 17:16:23 -03:00

11 lines
206 B
Lua

return {
version = 1,
wantedScripts = {
{
name = 'webfinger_allowlist',
config = {
accounts = {"example@example.com"}
}
}
}
}