Fix Listign of MediaArticle

This commit is contained in:
2026-11-01 02:32:18 +01:00
parent b0cc5f0cd1
commit f9b7e20841
5 changed files with 148 additions and 12 deletions
+3 -1
View File
@@ -11,6 +11,7 @@ import (
)
var (
ApiSecret []byte
CfgFile string
Verbose int
Overwrite bool
@@ -79,7 +80,8 @@ type CliConfig struct {
}
type ServerConfiguration struct {
Server struct {
ApiSecret []byte `mapstructure:"api_secret" validate:"required"`
Server struct {
Port int `mapstructure:"port" validate:"required"`
Host string `mapstructure:"host"`
} `mapstructure:"server"`