We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1330888 commit b2ffe9cCopy full SHA for b2ffe9c
internal/version/info.go
@@ -5,6 +5,7 @@ import (
5
"path/filepath"
6
"runtime"
7
8
+ "github.com/0xJacky/Nginx-UI/internal/helper"
9
"github.com/pkg/errors"
10
)
11
@@ -33,7 +34,7 @@ func GetRuntimeInfo() (r RuntimeInfo, err error) {
33
34
Arch: runtime.GOARCH,
35
ExPath: realPath,
36
CurVersion: GetVersionInfo(),
- InDocker: os.Getenv("NGINX_UI_IN_DOCKER") == "true",
37
+ InDocker: helper.InNginxUIOfficialDocker(),
38
}
39
40
return
0 commit comments