mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-01-19 18:44:45 +00:00
changing bind port to public port
This commit is contained in:
parent
026643a0c1
commit
a5cd13ea92
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue