fix pages-branch option

This commit is contained in:
crapStone 2023-11-17 23:38:42 +01:00
parent 7401846261
commit 96fb1bebd9
No known key found for this signature in database
GPG key ID: D74B82E7CDD863FE
2 changed files with 9 additions and 0 deletions

View file

@ -62,6 +62,9 @@ func mergeServerConfig(ctx *cli.Context, config *ServerConfig) {
if ctx.IsSet("raw-domain") {
config.RawDomain = ctx.String("raw-domain")
}
if ctx.IsSet("pages-branch") {
config.PagesBranches = ctx.StringSlice("pages-branch")
}
if ctx.IsSet("allowed-cors-domains") {
config.AllowedCorsDomains = ctx.StringSlice("allowed-cors-domains")
}