Fix order of auth lines
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e4c1c7e959
commit
068104d20e
|
@ -39,10 +39,12 @@ func NewApp(options AppOptions) (*App, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
app.backend = backend
|
||||||
|
|
||||||
// FIXME: load from database
|
// FIXME: load from database
|
||||||
app.backend.TokenEndpoint = "https://p83.nl/auth/token"
|
app.backend.TokenEndpoint = "https://p83.nl/auth/token"
|
||||||
app.backend.Me = "https://p83.nl/"
|
app.backend.Me = "https://p83.nl/"
|
||||||
app.backend = backend
|
|
||||||
app.backend.AuthEnabled = options.AuthEnabled
|
app.backend.AuthEnabled = options.AuthEnabled
|
||||||
app.backend.baseURL = options.BaseURL
|
app.backend.baseURL = options.BaseURL
|
||||||
app.backend.hubIncomingBackend.pool = options.pool
|
app.backend.hubIncomingBackend.pool = options.pool
|
||||||
|
|
Loading…
Reference in New Issue
Block a user