aboutsummaryrefslogtreecommitdiff
path: root/config.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 /config.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 'config.go')
-rw-r--r--config.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/config.go b/config.go
index ff56936..a74069d 100644
--- a/config.go
+++ b/config.go
@@ -1,7 +1,9 @@
package main
type Config struct {
- port int
- backends string
- localMusicDir string
+ Port int
+ Backends string
+ LocalMusicDir string
+ UploadDir string
+ HasUpload bool
}