forked from maiora/backend-api
cambio nome property porta server
l'applicativo deve leggere la porta dalla property server.ecommerce.port per evitare di sovrapporsi ad altri applicativi simili presenti sulla stessa macchina
This commit is contained in:
parent
550e28f871
commit
d99190326b
@ -14,7 +14,7 @@ import java.util.*
|
||||
|
||||
fun main() {
|
||||
val properties = loadConfig()
|
||||
val port = properties.getProperty("server.port").toInt()
|
||||
val port = properties.getProperty("server.ecommerce.port").toInt()
|
||||
embeddedServer(Netty, port = port, host = "0.0.0.0") {
|
||||
module(properties)
|
||||
}.start(wait = true)
|
||||
|
Loading…
Reference in New Issue
Block a user