mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
api(config): respect $PORT as used by heroku if no explicit bind address provided
This commit is contained in:
parent
3a2dc74586
commit
142e7912fa
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ const options = [
|
|||
{
|
||||
key: 'bind_address',
|
||||
desc: 'Address to bind REST API on',
|
||||
default: '0.0.0.0:2000',
|
||||
default: `0.0.0.0:${process.env["PORT"] || 2000}`,
|
||||
validators: [],
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue