commit 36eb87bf37a37883493f6e79efed2ed259d232f1
parent 34d8be2c8f0d8aa2f31380a6d95bc6cecfddd6ee
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Tue, 19 Jul 2022 15:55:13 +0200
fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/rest/tos.go b/pkg/rest/tos.go
@@ -55,7 +55,7 @@ func ServiceTermsResponse(s *ini.Section, w http.ResponseWriter, r *http.Request
w.WriteHeader(http.StatusNotFound)
}
-func ServicePrivacyPolicyResponse(s *ini.Section, w http.ResponseWriter, r *http.Request) {
+func PrivacyPolicyResponse(s *ini.Section, w http.ResponseWriter, r *http.Request) {
fileType := s.Key("default_doc_filetype").MustString("text/html")
termsLocation := s.Key("default_pp_path").MustString("privacy/")
for _, typ := range r.Header["Accept"] {