Skip to content

Commit

Permalink
Merge pull request #125 from open-runtimes/fix-cold-start-sites
Browse files Browse the repository at this point in the history
Fix: cold start for sites
  • Loading branch information
Meldiron authored Oct 27, 2024
2 parents 1a6b12f + 0f5d5da commit 6a6140c
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 6a6140c

Please sign in to comment.