mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-07-16 08:55:18 +00:00
changing bind port to public port
This commit is contained in:
parent
026643a0c1
commit
a5cd13ea92
1 changed files with 2 additions and 2 deletions
|
|
@ -79,8 +79,8 @@ object Server {
|
||||||
def run(args: CliConfig): Unit = {
|
def run(args: CliConfig): Unit = {
|
||||||
val bindAddress: InetAddress =
|
val bindAddress: InetAddress =
|
||||||
args.bind match {
|
args.bind match {
|
||||||
case Some(address) => InetAddress.getByName(address) // address from first argument
|
case Some(address) => InetAddress.getByName(address) // address from first argument
|
||||||
case None => InetAddress.getByName(Config.app.bind) // address from config
|
case None => InetAddress.getByName(Config.app.public) // address from config
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Config.app.kamon.enable) {
|
if (Config.app.kamon.enable) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue