mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
fix(apps): init Apps in nil
This commit is contained in:
parent
413bb8bc0c
commit
b9528d8c92
@ -806,6 +806,10 @@ func CheckDefaultApps() {
|
||||
continue
|
||||
}
|
||||
|
||||
if Config.Apps == nil {
|
||||
Config.Apps = make(map[string]App)
|
||||
}
|
||||
|
||||
Config.Apps[app] = App{
|
||||
Active: true,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user