mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
rename gitea to forge for cli and add gitea options as aliases
This commit is contained in:
parent
9ce901bfa0
commit
5cac5e105c
6 changed files with 73 additions and 44 deletions
|
@ -3,7 +3,7 @@ package config
|
|||
type Config struct {
|
||||
LogLevel string `default:"warn"`
|
||||
Server ServerConfig
|
||||
Gitea GiteaConfig
|
||||
Forge ForgeConfig
|
||||
Database DatabaseConfig
|
||||
ACME ACMEConfig
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ type ServerConfig struct {
|
|||
BlacklistedPaths []string
|
||||
}
|
||||
|
||||
type GiteaConfig struct {
|
||||
type ForgeConfig struct {
|
||||
Root string
|
||||
Token string
|
||||
LFSEnabled bool `default:"false"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue