From da67d01ba425a5208425fa50f8298ff67a115a8b Mon Sep 17 00:00:00 2001 From: Matteo Suppo Date: Mon, 4 Mar 2019 12:37:17 +0100 Subject: [PATCH] Return info about the system --- info.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/info.go b/info.go index ad694fc47..c597c29d7 100644 --- a/info.go +++ b/info.go @@ -1,6 +1,7 @@ package main import ( + "runtime" "strings" "github.com/gin-gonic/gin" @@ -20,6 +21,7 @@ func infoHandler(c *gin.Context) { "wss": "wss://localhost" + portSSL, "origins": origins, "update_url": updateUrl, + "os": runtime.GOOS + ":" + runtime.GOARCH, }) }