Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 6a875e3

Browse files
author
Tracy Boehrer
committed
Providing a default value for server.port.
1 parent 59418b1 commit 6a875e3

File tree

1 file changed

+1
-1
lines changed
  • samples/16.proactive-messages/src/main/java/com/microsoft/bot/sample/proactive

1 file changed

+1
-1
lines changed

samples/16.proactive-messages/src/main/java/com/microsoft/bot/sample/proactive/ProactiveBot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*/
2929
@Component
3030
public class ProactiveBot extends ActivityHandler {
31-
@Value("${server.port}")
31+
@Value("${server.port:8080}")
3232
private int port;
3333

3434
private static final String WELCOMEMESSAGE = "Welcome to the Proactive Bot sample. Navigate to http://localhost:%d/api/notify to proactively message everyone who has previously messaged this bot.";

0 commit comments

Comments
 (0)