mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-06 11:03:49 +08:00
✨ basic structure
This commit is contained in:
13
conf/var.go
13
conf/var.go
@@ -4,8 +4,15 @@ import "gorm.io/gorm"
|
||||
|
||||
var (
|
||||
ConfigFile string // config file
|
||||
Conf *Config
|
||||
Debug bool
|
||||
Conf *Config
|
||||
Debug bool
|
||||
|
||||
DB *gorm.DB
|
||||
)
|
||||
)
|
||||
|
||||
var (
|
||||
TextTypes = []string{"txt", "go"}
|
||||
OfficeTypes = []string{"doc", "docx", "xls", "xlsx", "ppt", "pptx", "pdf"}
|
||||
VideoTypes = []string{"mp4", "mkv", "avi", "mov", "rmvb"}
|
||||
AudioTypes = []string{"mp3", "flac"}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user