mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-21 00:17:44 +08:00
refactor: remove legacy environment variable aliases for configuration and concurrency settings
This commit is contained in:
@@ -19,9 +19,6 @@ func (s *Store) IsEnvWritebackEnabled() bool {
|
||||
|
||||
func (s *Store) HasEnvConfigSource() bool {
|
||||
rawCfg := strings.TrimSpace(os.Getenv("DS2API_CONFIG_JSON"))
|
||||
if rawCfg == "" {
|
||||
rawCfg = strings.TrimSpace(os.Getenv("CONFIG_JSON"))
|
||||
}
|
||||
return rawCfg != ""
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user