Move HTTPS-related flags in rogueserver.go
parent
693663103b
commit
d4a906a0f1
|
@ -35,6 +35,8 @@ func main() {
|
|||
|
||||
proto := flag.String("proto", "tcp", "protocol for api to use (tcp, unix)")
|
||||
addr := flag.String("addr", "0.0.0.0:8001", "network address for api to listen on")
|
||||
tlscert := flag.String("tlscert", "", "tls certificate path")
|
||||
tlskey := flag.String("tlskey", "", "tls key path")
|
||||
|
||||
dbuser := flag.String("dbuser", "pokerogue", "database username")
|
||||
dbpass := flag.String("dbpass", "pokerogue", "database password")
|
||||
|
@ -42,9 +44,6 @@ func main() {
|
|||
dbaddr := flag.String("dbaddr", "localhost", "database address")
|
||||
dbname := flag.String("dbname", "pokeroguedb", "database name")
|
||||
|
||||
tlscert := flag.String("tlscert", "", "tls certificate path")
|
||||
tlskey := flag.String("tlskey", "", "tls key path")
|
||||
|
||||
flag.Parse()
|
||||
|
||||
// register gob types
|
||||
|
|
Loading…
Reference in New Issue