Skip to content

Commit

Permalink
🔧 fix: #8 增加了多个文件预览
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Jan 5, 2021
1 parent b394711 commit fcd9c59
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions conf/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ type Config struct {
MusicImg string `yaml:"music_img" json:"music_img"`
CheckUpdate bool `yaml:"check_update" json:"check_update"`
Script string `yaml:"script" json:"script"`
Autoplay bool `yaml:"autoplay" json:"autoplay"`
Preview struct{
Url string `yaml:"url" json:"url"`
PreProcess []string `yaml:"pre_process" json:"pre_process"`
Extensions []string `yaml:"extensions" json:"extensions"`
Text []string `yaml:"text" json:"text"`
MaxSize int `yaml:"max_size" json:"max_size"`
} `yaml:"preview" json:"preview"`
} `yaml:"info"`
Server struct{
Port string `yaml:"port"`//端口
Expand Down

0 comments on commit fcd9c59

Please sign in to comment.