Fix order of auth lines
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2021-10-31 01:43:45 +02:00
parent e4c1c7e959
commit 068104d20e
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -39,10 +39,12 @@ func NewApp(options AppOptions) (*App, error) {
if err != nil {
return nil, err
}
app.backend = backend
// FIXME: load from database
app.backend.TokenEndpoint = "https://p83.nl/auth/token"
app.backend.Me = "https://p83.nl/"
app.backend = backend
app.backend.AuthEnabled = options.AuthEnabled
app.backend.baseURL = options.BaseURL
app.backend.hubIncomingBackend.pool = options.pool