diff --git a/server/env/env.go b/server/env/env.go index 9658e8b..11f213d 100644 --- a/server/env/env.go +++ b/server/env/env.go @@ -118,6 +118,10 @@ func InitEnv() { } } + if envData.StringEnv[constants.EnvKeyCustomAccessTokenScript] == "" { + envData.StringEnv[constants.EnvKeyCustomAccessTokenScript] = os.Getenv(constants.EnvKeyCustomAccessTokenScript) + } + if envData.StringEnv[constants.EnvKeyJwtPrivateKey] == "" { envData.StringEnv[constants.EnvKeyJwtPrivateKey] = os.Getenv(constants.EnvKeyJwtPrivateKey) }