add config file loading

This commit is contained in:
Luna 2022-12-06 18:24:25 -03:00
parent c15abe3c05
commit d16e31c675
7 changed files with 56 additions and 10 deletions

View file

@ -25,12 +25,12 @@ return {
author='luna@l4.pm',
title='Webfinger Allowlist',
description=[[
Prevent unecessary DB load by discarding requests to users that we know
Prevent unnecessary DB load by discarding requests to users that we know
won't exist.
Useful for small instances.
]],
apiVersion=1,
version=1,
init=webfingerInit,
callbacks = {
['/.well-known/webfinger'] = webfingerCallback