Minor fixes
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed

This commit is contained in:
2022-02-15 12:59:53 +00:00
parent 737d5fb101
commit 72b5bdde4f
3 changed files with 5 additions and 4 deletions

View File

@ -30,12 +30,12 @@ func main() {
panic("couldn't open static files")
}
h := &http.Handler{
handler := &http.Handler{
Service: q,
TokenVerifier: &jwt.TokenVerifier{},
CredentialsVerifier: &bcrypt.Verifier{},
StaticFS: netHttp.FS(static),
}
h.Serve()
handler.Serve()
}