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:
Francesco Di Sciascio 2025-06-11 14:02:16 +02:00
parent 550e28f871
commit d99190326b

View File

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