We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30c6be0 commit af08155Copy full SHA for af08155
Procfile
@@ -1 +1 @@
1
-web: java $JAVA_OPTS -Dserver.port=$PORT -jar target/java-getting-started-1.0.jar
+web: java -jar target/java-getting-started-1.0.jar
src/main/resources/application.properties
@@ -7,3 +7,5 @@ spring.thymeleaf.mode=HTML
7
logging.level.org.springframework=INFO
8
9
spring.profiles.active=production
10
+
11
+server.port=${PORT}
0 commit comments