diff --git a/api/init.php b/api/init.php index 28f8775..a1ba406 100644 --- a/api/init.php +++ b/api/init.php @@ -17,7 +17,7 @@ if (file_exists($envFile)) { // Defines Environment Variables $host = getenv('POSTGRES_HOSTNAME'); -$port = 5432; +$port = getenv('POSTGRES_PORT'); $db = getenv('POSTGRES_DB'); $user = getenv('POSTGRES_USER'); $pass = getenv('POSTGRES_PASSWORD'); diff --git a/public/index.php b/public/index.php index 30d32fd..597d1dc 100644 --- a/public/index.php +++ b/public/index.php @@ -31,9 +31,11 @@ if (!$municipality) {