mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
start with xorm
This commit is contained in:
parent
3166b05107
commit
1715e88910
6 changed files with 497 additions and 8 deletions
10
cmd/flags.go
10
cmd/flags.go
|
@ -129,4 +129,14 @@ var ServeFlags = []cli.Flag{
|
|||
Value: "key-database.pogreb",
|
||||
EnvVars: []string{"DB_POGREB"},
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "db-type",
|
||||
Value: "sqlite",
|
||||
EnvVars: []string{"DB_TYPE"},
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "db-conn",
|
||||
Value: "", // TODO: "certs.sqlite", in next version
|
||||
EnvVars: []string{"DB_CONN"},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue