fix: version var in make file
This commit is contained in:
3
server/env/env.go
vendored
3
server/env/env.go
vendored
@@ -12,7 +12,6 @@ import (
|
||||
|
||||
// build variables
|
||||
var (
|
||||
VERSION string
|
||||
ARG_DB_URL *string
|
||||
ARG_DB_TYPE *string
|
||||
ARG_AUTHORIZER_URL *string
|
||||
@@ -34,8 +33,6 @@ func InitEnv() {
|
||||
log.Printf("error loading %s file", constants.ENV_PATH)
|
||||
}
|
||||
|
||||
constants.VERSION = VERSION
|
||||
|
||||
if constants.ADMIN_SECRET == "" {
|
||||
constants.ADMIN_SECRET = os.Getenv("ADMIN_SECRET")
|
||||
if constants.ADMIN_SECRET == "" {
|
||||
|
Reference in New Issue
Block a user