mirror of
https://github.com/tuxdotrs/trok.git
synced 2025-07-06 20:06:34 +05:30
fix: port arg not being used
This commit is contained in:
@ -38,7 +38,7 @@ func (t *TrokWeb) Start() {
|
||||
|
||||
cfg := t.GetTLSCert()
|
||||
|
||||
ln, err := tls.Listen("tcp", ":443", cfg)
|
||||
ln, err := tls.Listen("tcp", t.addr, cfg)
|
||||
if err != nil {
|
||||
log.Panic().Msgf("unable to start trok webserver: %v", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user