gr791_lea 3 år sedan
förälder
incheckning
d84de555f8
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      dfg.go

+ 2 - 2
dfg.go

@@ -32,8 +32,8 @@ func info_students(w http.ResponseWriter, r *http.Request) {
 func state(w http.ResponseWriter, r *http.Request) {
 	Ip := GetOutboundIP().String()
 	regex := regexp.MustCompile("\\W[0-9]*\\W[0-9]*")
-	koya := regex.ReplaceAllString(Ip, ".*.*")
-	fmt.Fprint(w, koya)
+	ipwithoutoctets := regex.ReplaceAllString(Ip, ".*.*")
+	fmt.Fprint(w, ipwithoutoctets)
 	fmt.Fprintf(w, " Любовникова Екатерина Александровна 2021-09-23 4:5:5 pm")
 }