fix lint
This commit is contained in:
parent
641e4e2093
commit
43392b12bd
@ -493,6 +493,7 @@ func (app *Bouquins) IndexPage(res http.ResponseWriter, req *http.Request) error
|
||||
return app.render(res, tplIndex, model)
|
||||
}
|
||||
|
||||
// CalibreFileServer serves files from calibre path
|
||||
func (app *Bouquins) CalibreFileServer() http.Handler {
|
||||
calibre := app.Conf.CalibrePath
|
||||
handler := http.StripPrefix(URLCalibre, http.FileServer(http.Dir(calibre)))
|
||||
|
@ -9,7 +9,7 @@ import (
|
||||
"golang.org/x/oauth2"
|
||||
)
|
||||
|
||||
// GithubProvider implements OAuth2 client with github.com
|
||||
// GiteaProvider implements OAuth2 client with custom gitea server
|
||||
type GiteaProvider string
|
||||
|
||||
type giteaProfile struct {
|
||||
|
Loading…
Reference in New Issue
Block a user