Skip to content

Commit

Permalink
httpd - Print out the port number at startup to make it easier to fig…
Browse files Browse the repository at this point in the history
…ure out how to connect to the server
  • Loading branch information
chmorgan committed Oct 16, 2017
1 parent 862a9d2 commit 6c78c2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions httpd/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ int main()

espFsInit((void*)(webpages_espfs_start));
int listenPort = 9000;
printf("creating httpd on port %d\n", listenPort);

httpdInit(builtInUrls, listenPort, HTTPD_FLAG_SSL);

printf("creating websocket broadcast thread\n");
Expand Down

0 comments on commit 6c78c2b

Please sign in to comment.