Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-09-23 00:40:21 +01:00
parent 3546af03c4
commit 3713d774ec

View file

@ -8,9 +8,7 @@ import (
) )
func GetPort() string { func GetPort() string {
port := os.Getenv("API_PORT") if port := os.Getenv("API_PORT"); port != "" {
if port != "" {
return port return port
} }