Password fix and others (#875)

* init

* user and pass to just pass lang update
This commit is contained in:
Anthony Stirling
2024-03-07 20:12:07 +00:00
committed by GitHub
parent 2f703796e9
commit cf4613d043
30 changed files with 80 additions and 96 deletions

View File

@@ -19,6 +19,7 @@ import io.github.pixee.security.SystemCommand;
import jakarta.annotation.PostConstruct;
import stirling.software.SPDF.config.ConfigInitializer;
import stirling.software.SPDF.model.ApplicationProperties;
@SpringBootApplication
@EnableScheduling
@@ -28,6 +29,8 @@ public class SPdfApplication {
@Autowired private Environment env;
@Autowired ApplicationProperties applicationProperties;
private static String serverPortStatic;
@Value("${server.port:8080}")
@@ -55,6 +58,7 @@ public class SPdfApplication {
logger.error("Error opening browser: {}", e.getMessage());
}
}
logger.info("Running configs {}", applicationProperties.toString());
}
public static void main(String[] args) throws IOException, InterruptedException {
@@ -88,7 +92,6 @@ public class SPdfApplication {
private static void printStartupLogs() {
logger.info("Stirling-PDF Started.");
String url = "http://localhost:" + getStaticPort();
logger.info("Navigate to {}", url);
}