mirror of
https://git.maid.zone/stuff/soundcloak.git
synced 2025-12-23 20:29: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" {
|
if env := os.Getenv("SOUNDCLOAK_CONFIG"); env == "FROM_ENV" {
|
||||||
err := fromEnv()
|
err := fromEnv()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
log.Println("failed to load config from environment:", err)
|
||||||
|
defaultPreferences()
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user