Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b913b33

Browse filesBrowse files
author
Kuniwak
committed
Can change a listening port by the env var PORT
1 parent a4b544b commit b913b33
Copy full SHA for b913b33

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎gulp/serve.js‎

Copy file name to clipboardExpand all lines: gulp/serve.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ var serve = function() {
4646
};
4747

4848

49-
serve.PORT = 8000;
49+
serve.PORT = process.env.PORT || 8000;
5050

5151
module.exports = serve;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.