This commit is contained in:
Dvorinka
2025-06-20 09:48:09 +02:00
parent cff88b3463
commit 51546f3e13
+1 -2
View File
@@ -245,9 +245,8 @@ func trackVisit(w http.ResponseWriter, r *http.Request) {
}
w.WriteHeader(http.StatusOK)
}
// Helper function to extract OS from User-Agent
// Helper function to extract OS from User-Agent
func getOSFromUserAgent(userAgent string) string {
if strings.Contains(userAgent, "Windows") {