changing bind port to public port

This commit is contained in:
Fate-JH 2024-07-01 16:22:11 -04:00
parent 026643a0c1
commit a5cd13ea92

View file

@ -79,8 +79,8 @@ object Server {
def run(args: CliConfig): Unit = {
val bindAddress: InetAddress =
args.bind match {
case Some(address) => InetAddress.getByName(address) // address from first argument
case None => InetAddress.getByName(Config.app.bind) // address from config
case Some(address) => InetAddress.getByName(address) // address from first argument
case None => InetAddress.getByName(Config.app.public) // address from config
}
if (Config.app.kamon.enable) {