19 lines
363 B
Lua
19 lines
363 B
Lua
local CONFIG_PATH = ".;/etc/aproxy"
|
|
|
|
-- function loadConfig()
|
|
-- -- TODO load config_path
|
|
-- return require("./config.lua")
|
|
-- end
|
|
--
|
|
-- local config = loadConfig()
|
|
|
|
local ctx = require('ctx')
|
|
|
|
ctx:setWantedScripts({
|
|
['scripts.webfinger_allowlist'] = {accounts = {"example@example.com"}}
|
|
})
|
|
ctx:loadChain()
|
|
|
|
return function()
|
|
ctx:onRequest()
|
|
end
|