forked from vieter-v/vieter
feat(web): added authentication as function attribute
This commit is contained in:
parent
9268ef0302
commit
4887af26d3
4 changed files with 47 additions and 21 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue