mirror of
https://git.maid.zone/stuff/soundcloak.git
synced 2025-12-21 19:19:37 +05:00
small fix
This commit is contained in:
@@ -341,7 +341,8 @@ func init() {
|
||||
if env := os.Getenv("SOUNDCLOAK_CONFIG"); env == "FROM_ENV" {
|
||||
err := fromEnv()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
log.Println("failed to load config from environment:", err)
|
||||
defaultPreferences()
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user