Skip to content

Commit bd9a7d5

Browse files
committed
change check for PORT
1 parent 107cbcf commit bd9a7d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func getPort() string {
3232

3333
print("(heroku:" + port + ")")
3434

35-
if len(port) != 4 {
35+
if port == "" {
3636
port = "8000"
3737
}
3838

0 commit comments

Comments
 (0)