Skip to content

Commit

Permalink
Fix cold start for sites requiring entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Meldiron committed Oct 27, 2024
1 parent 1a6b12f commit 0f5d5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/http.php
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ function (string $runtimeId, ?string $payload, string $path, string $method, mix

// Prepare runtime
if (!$activeRuntimes->exists($runtimeName)) {
if (empty($image) || empty($source) || empty($entrypoint)) {
if (empty($image) || empty($source)) {
throw new Exception('Runtime not found. Please start it first or provide runtime-related parameters.', 401);
}

Expand Down

0 comments on commit 0f5d5da

Please sign in to comment.