Skip to content

Commit 1e46f69

Browse files
author
Eric W. Greene
committed
tweaked port config
1 parent 4fc55f8 commit 1e46f69

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ var
55
rootFolder: "app/www",
66
uploadsFolder: "app/uploads",
77
childApps: {
8-
"appMain": { port: 8080, caption: "home", main: true },
8+
"appMain": {
9+
port: process.env.PORT || 8080,
10+
caption: "home",
11+
main: true
12+
},
913
"appWebSockets": {
1014
port: 8081,
1115
caption: "File Uploads with Plain Web Sockets",

0 commit comments

Comments
 (0)