Static token config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2021-10-31 01:41:40 +02:00
parent ccaff6fe19
commit e4c1c7e959
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -39,6 +39,9 @@ func NewApp(options AppOptions) (*App, error) {
if err != nil {
return nil, err
}
// 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