Skip to content

Commit

Permalink
fix: Use 8080 as the default launch port for opening the browser
Browse files Browse the repository at this point in the history
Fixes #19832
  • Loading branch information
Artur- committed Aug 27, 2024
1 parent adf36b0 commit 2340b6f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ private void launchBrowserInDevelopmentMode(ApplicationContext appContext) {

static String getUrl(GenericWebApplicationContext app) {
String port = app.getEnvironment().getProperty("server.port");
if (port == null) {
port = "8080";
}
String sslEnabled = app.getEnvironment()
.getProperty("server.ssl.enabled");
String proto;
Expand Down

0 comments on commit 2340b6f

Please sign in to comment.