2022-12-06 03:36:15 +00:00
|
|
|
local CONFIG_PATH = ".;/etc/aproxy"
|
|
|
|
|
|
|
|
-- function loadConfig()
|
|
|
|
-- -- TODO load config_path
|
|
|
|
-- return require("./config.lua")
|
|
|
|
-- end
|
|
|
|
--
|
|
|
|
-- local config = loadConfig()
|
|
|
|
|
2022-12-06 18:53:20 +00:00
|
|
|
local ctx = require('ctx')
|
|
|
|
ctx.setWantedScripts({
|
2022-12-06 16:48:09 +00:00
|
|
|
['scripts.webfinger_allowlist'] = {accounts = {"example@example.com"}}
|
2022-12-06 18:53:20 +00:00
|
|
|
})
|
2022-12-06 03:36:15 +00:00
|
|
|
|
2022-12-06 18:53:20 +00:00
|
|
|
return ctx:onRequest
|