mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-05-12 13:07:50 +00:00
Apply JnCrMx's patch for optional HTTP-only mode
This commit is contained in:
parent
9524b1eb12
commit
5352937065
6 changed files with 62 additions and 40 deletions
|
@ -18,6 +18,7 @@ type ServerConfig struct {
|
|||
PagesBranches []string
|
||||
AllowedCorsDomains []string
|
||||
BlacklistedPaths []string
|
||||
HttpOnlyMode bool `default:"false"`
|
||||
}
|
||||
|
||||
type ForgeConfig struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue