summaryrefslogtreecommitdiff
path: root/cmd/server/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/server/main.go')
-rw-r--r--cmd/server/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/server/main.go b/cmd/server/main.go
index c9eab3a..3b23d17 100644
--- a/cmd/server/main.go
+++ b/cmd/server/main.go
@@ -183,8 +183,8 @@ func reloadTosAndPrivacy() bool {
return true
}
- embeds.TermsOfService.Store(tos)
- embeds.PrivacyPolicy.Store(privacy)
+ embeds.TermsOfService.Store(string(tos))
+ embeds.PrivacyPolicy.Store(string(privacy))
embeds.TosPrivacyHash.Store(hash)
if oldHash == "" {