removed unused paths
parent
4027153c5b
commit
6493f0f689
2
main.go
2
main.go
|
@ -207,8 +207,6 @@ func createServerDirectoriesIfNotExists() {
|
|||
paths := []string{
|
||||
cfg.GroupTasksGroups,
|
||||
cfg.GroupTasksRunningTasks,
|
||||
cfg.LogsGroupTasks,
|
||||
cfg.LogsSystem,
|
||||
cfg.PublicStatic + "avatars/",
|
||||
cfg.PublicStatic + "grouptasks/",
|
||||
cfg.PublicStatic + "sounds/",
|
||||
|
|
|
@ -23,8 +23,6 @@ type Config struct {
|
|||
type FolderPaths struct {
|
||||
GroupTasksGroups string
|
||||
GroupTasksRunningTasks string
|
||||
LogsGroupTasks string
|
||||
LogsSystem string
|
||||
PublicStatic string
|
||||
}
|
||||
|
||||
|
@ -59,8 +57,6 @@ func LoadConfig() {
|
|||
FolderPaths: FolderPaths{
|
||||
GroupTasksGroups: os.Getenv("FOLDER_GROUPTASKS_GROUPS"),
|
||||
GroupTasksRunningTasks: os.Getenv("FOLDER_GROUPTASKS_RUNNINGTASKS"),
|
||||
LogsGroupTasks: os.Getenv("FOLDER_LOGS_GROUPTASKS"),
|
||||
LogsSystem: os.Getenv("FOLDER_LOGS_SYSTEM"),
|
||||
PublicStatic: os.Getenv("FOLDER_PUBLIC_STATIC"),
|
||||
},
|
||||
MariaDB: MariaDB{
|
||||
|
|
Loading…
Reference in New Issue