mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
chore: remove plausible analytics entirely
This commit is contained in:
parent
bf3168460b
commit
8432f00996
5 changed files with 1 additions and 23 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue