mirror of
https://github.com/Dvorinka/PPve.git
synced 2026-06-03 20:12:59 +00:00
seg
This commit is contained in:
@@ -245,9 +245,8 @@ func trackVisit(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
w.WriteHeader(http.StatusOK)
|
w.WriteHeader(http.StatusOK)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Helper function to extract OS from User-Agent
|
|
||||||
// Helper function to extract OS from User-Agent
|
// Helper function to extract OS from User-Agent
|
||||||
func getOSFromUserAgent(userAgent string) string {
|
func getOSFromUserAgent(userAgent string) string {
|
||||||
if strings.Contains(userAgent, "Windows") {
|
if strings.Contains(userAgent, "Windows") {
|
||||||
|
|||||||
Reference in New Issue
Block a user