From b49c9ca666c11f2a591fd12e71d57cdace709be3 Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Sat, 11 Mar 2023 20:17:47 +0530 Subject: [PATCH] fix useragent envvar and add gh.777.tf --- README.md | 1 + pages/about.go | 3 +-- views/about.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1d5a986..d5c9356 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ The ``master`` branch runs on the master branch of GotHub. This means that the i | [gh.dev.odyssey346.dev](https://gh.dev.odyssey346.dev) | No | 🇫🇷 | OVHcloud (Trolling Solutions) | dev | | [gothub.esmailelbob.xyz](https://gothub.esmailelbob.xyz) | No | 🇨🇦 | OVHcloud | dev | | [dev.gh.akisblack.dev](https://dev.gh.akisblack.dev) | No | 🇩🇪 | OVHcloud | dev | +| [gh.777.tf](https://gh.777.tf) | No | 🇫🇮 | Own ISP | dev | Have an instance you want on the list? Make an issue or PR! diff --git a/pages/about.go b/pages/about.go index 5590dc5..a9d7c25 100644 --- a/pages/about.go +++ b/pages/about.go @@ -10,7 +10,7 @@ import ( type PrivacyInfo struct { IPAddr string ReqURL string - UserAgentLogged string + UserAgent string Diagnostics string Country string Provider string @@ -19,7 +19,6 @@ type PrivacyInfo struct { Version string GoVersion string FiberVersion string - UserAgent string } func HandleAbout(c *fiber.Ctx) error { diff --git a/views/about.html b/views/about.html index c0c924b..cbe7a9a 100644 --- a/views/about.html +++ b/views/about.html @@ -12,7 +12,7 @@ {{ if .PrivacyPolicy }}