fix Show Javascript card layout (#1959)

This commit is contained in:
HardikaZalavadia
2024-09-25 01:03:13 +05:30
committed by GitHub
parent 9b96367496
commit b8115531e2
3 changed files with 8 additions and 4 deletions

View File

@@ -39,7 +39,8 @@ public class SPdfApplication {
public void setServerPortStatic(String port) {
if (port.equalsIgnoreCase("auto")) {
// Use Spring Boot's automatic port assignment (server.port=0)
SPdfApplication.serverPortStatic = "0"; // This will let Spring Boot assign an available port
SPdfApplication.serverPortStatic =
"0"; // This will let Spring Boot assign an available port
} else {
SPdfApplication.serverPortStatic = port;
}