summaryrefslogtreecommitdiff
path: root/pkg/backend/init.go
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2020-09-30 12:35:07 +0200
committerRuben Pollan <meskio@sindominio.net>2020-09-30 18:31:02 +0200
commit89b148d143870161909eb6170d4fc1840277aa94 (patch)
treee94cca65f0d092bf7d0a4707dba841c02bb046a2 /pkg/backend/init.go
parent5d102497e80f17056ce97bcc58a4906cf8a05c28 (diff)
[feat] remove unused config options
Diffstat (limited to 'pkg/backend/init.go')
-rw-r--r--pkg/backend/init.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/backend/init.go b/pkg/backend/init.go
index 842c91b..f7dd87a 100644
--- a/pkg/backend/init.go
+++ b/pkg/backend/init.go
@@ -22,10 +22,10 @@ func initializeContext(opts *InitOpts) {
ctx = &connectionCtx{
AppName: opts.ProviderOptions.AppName,
Provider: opts.ProviderOptions.Provider,
- TosURL: config.TosURL,
- HelpURL: config.HelpURL,
- DonateURL: config.DonateURL,
- AskForDonations: config.AskForDonations,
+ TosURL: opts.ProviderOptions.TosURL,
+ HelpURL: opts.ProviderOptions.HelpURL,
+ DonateURL: opts.ProviderOptions.DonateURL,
+ AskForDonations: opts.ProviderOptions.AskForDonations,
DonateDialog: false,
Version: version.VERSION,
Status: st,