fix useragent envvar and add gh.777.tf

This commit is contained in:
Arya Kiran
2023-03-11 20:17:47 +05:30
parent a6d8d7697c
commit b49c9ca666
3 changed files with 3 additions and 3 deletions
+1
View File
@@ -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!
+1 -2
View File
@@ -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 {
+1 -1
View File
@@ -12,7 +12,7 @@
<ul>
<li><b>IP Address logged:</b> {{.IPAddr}}</li>
<li><b>Request URL logged:</b> {{.ReqURL}}</li>
<li><b>User Agent logged:</b> {{.UserAgentLogged}}</li>
<li><b>User Agent logged:</b> {{.UserAgent}}</li>
<li><b>Diagnostic Information logged:</b> {{.Diagnostics}}</li>
</ul>
{{ if .PrivacyPolicy }}