Refactor port again
This commit is contained in:
@@ -152,7 +152,7 @@ func Load(path string) (*Config, error) {
|
||||
cfg.Server.Host = "0.0.0.0"
|
||||
}
|
||||
if cfg.Server.Port == 0 {
|
||||
cfg.Server.Port = 8025
|
||||
cfg.Server.Port = 8825
|
||||
}
|
||||
if cfg.Media.DataPath == "" {
|
||||
cfg.Media.DataPath = "./data/media"
|
||||
|
||||
Reference in New Issue
Block a user