chore: remove plausible analytics entirely

This commit is contained in:
spiral
2023-01-15 17:09:13 +00:00
parent bf3168460b
commit 8432f00996
5 changed files with 1 additions and 23 deletions

View File

@@ -47,13 +47,6 @@ func init() {
type ProxyHandler struct{}
func (p ProxyHandler) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
// redirect to plausible through fly-proxy
if r.Host == "plausible.pluralkit.me" {
rw.Header().Add("fly-replay", "app=pluralkit-analytics")
rw.WriteHeader(200)
return
}
remote, ok := remotes[r.Host]
if !ok {
// unknown domains redirect to landing page