aboutsummaryrefslogtreecommitdiff
path: root/wrms.go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-05-21 13:42:53 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-05-21 13:46:58 +0200
commit6bd47783325a2c1833f8017abc6aa459c4d82538 (patch)
treeef83029be3553e6ce210d62242a0046788b3d8a2 /wrms.go
parentd10c6aa2bf47729d3bcf1f6750db262a1f960b1a (diff)
downloadWRMS-6bd47783325a2c1833f8017abc6aa459c4d82538.tar.gz
WRMS-6bd47783325a2c1833f8017abc6aa459c4d82538.zip
export config members and pass the config to the client page template
Add a boolean to check for the upload backend in the template.
Diffstat (limited to 'wrms.go')
-rw-r--r--wrms.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrms.go b/wrms.go
index 816f491..9a334c3 100644
--- a/wrms.go
+++ b/wrms.go
@@ -69,7 +69,7 @@ type Wrms struct {
func NewWrms(config Config) *Wrms {
wrms := Wrms{}
wrms.Config = config
- wrms.Player = NewPlayer(&wrms, strings.Split(config.backends, " "))
+ wrms.Player = NewPlayer(&wrms, strings.Split(config.Backends, " "))
return &wrms
}