Refactor port again
Some checks failed
CI / Test (1.22) (push) Failing after -24m17s
CI / Test (1.23) (push) Failing after -24m17s
CI / Build (push) Successful in -26m37s
CI / Lint (push) Successful in -26m23s

This commit is contained in:
Hein
2026-02-04 14:22:12 +02:00
parent 52241190b5
commit 592ed24204
16 changed files with 76 additions and 76 deletions

View File

@@ -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"