Fix version in API

This commit is contained in:
Alex X
2023-10-15 09:37:24 +03:00
parent 6f2af78392
commit e367940bd9
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ import (
"github.com/rs/zerolog/log"
)
var Version = ""
var Version = "1.8.0"
var UserAgent = "go2rtc/" + Version
var ConfigPath string
-2
View File
@@ -34,8 +34,6 @@ import (
)
func main() {
app.Version = "1.8.0"
// 1. Core modules: app, api/ws, streams
app.Init() // init config and logs