diff --git a/component/session/server.go b/component/session/server.go
index e2ca461..ecacd51 100644
--- a/component/session/server.go
+++ b/component/session/server.go
@@ -98,7 +98,7 @@ table, th, td {
// Statistics table
_, _ = fmt.Fprintf(w, "
Statistics (%d)
", runtime.NumGoroutine())
_, _ = fmt.Fprintf(w, "")
- _, _ = fmt.Fprintf(w, "Platform | CPU | Mem | Disk | Last Refresh Time | Uptime | Total | Upload | Download |
\n")
+ _, _ = fmt.Fprintf(w, "Platform | CPU | Mem | Disk | Last Refresh Time | Uptime | Total | Upload | Download |
\n")
trafficUp := atomic.LoadInt64(&s.trafficUp)
trafficDown := atomic.LoadInt64(&s.trafficDown)
_, _ = fmt.Fprintf(w, "%v | %v | %v | %v | %v | %v | %v | %v | %v |
\n",
diff --git a/component/session/utils.go b/component/session/utils.go
index 7611797..7a6ec63 100644
--- a/component/session/utils.go
+++ b/component/session/utils.go
@@ -38,7 +38,7 @@ func platform() string {
if err != nil {
return "N/A"
}
- return fmt.Sprintf("%s-%s", h.Platform, h.PlatformVersion)
+ return fmt.Sprintf("%s", h.Platform)
}
func mem() string {