fix: port arg not being used

This commit is contained in:
tux
2025-03-04 09:38:54 +05:30
parent f21286ecb7
commit f7b42a29bf
2 changed files with 2 additions and 2 deletions

View File

@ -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)
}