Allow custom port
This commit is contained in:
parent
ad6d5dfcf3
commit
850274efdf
@ -74,5 +74,5 @@ function main(staticFiles, port) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (require.main === module) {
|
if (require.main === module) {
|
||||||
main('client', 3000);
|
main('client', process.env.PORT || 3000);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user