feat(web): added authentication as function attribute

This commit is contained in:
Jef Roosens 2022-09-04 19:32:22 +02:00
parent 9268ef0302
commit 4887af26d3
Signed by untrusted user: Jef Roosens
GPG key ID: B75D4F293C7052DB
4 changed files with 47 additions and 21 deletions

View file

@ -73,6 +73,7 @@ pub fn server(conf Config) ? {
web.run(&App{
logger: logger
api_key: conf.api_key
conf: conf
repo: repo
db: db