Change PORT
to API_PORT
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
3520056529
commit
2b310791c5
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import (
|
|||
)
|
||||
|
||||
func GetPort() string {
|
||||
port := os.Getenv("PORT")
|
||||
port := os.Getenv("API_PORT")
|
||||
|
||||
if port != "" {
|
||||
return port
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue