From 6bd47783325a2c1833f8017abc6aa459c4d82538 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 21 May 2023 13:42:53 +0200 Subject: export config members and pass the config to the client page template Add a boolean to check for the upload backend in the template. --- wrms.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wrms.go') 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 } -- cgit v1.2.3