An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
chore: ajust time to 50s (tests done)
peaklabs-devfdb5f069fc3d
diff --git a/bootstrap/helpers/github.php b/bootstrap/helpers/github.phpindex be9ca95826..b687c0d68f 100644--- a/bootstrap/helpers/github.php+++ b/bootstrap/helpers/github.php@@ -19,7 +19,7 @@ function generateGithubToken(GithubApp $source, string $type)$githubTime = Carbon::parse($response->header('date'));$timeDiff = abs($serverTime->diffInSeconds($githubTime));- if ($timeDiff > 0) {+ if ($timeDiff > 50) {throw new \Exception('System time is out of sync with GitHub API time:<br>'.'- System time: '.$serverTime->format('Y-m-d H:i:s').' UTC<br>'.diff --git a/resources/views/errors/500.blade.php b/resources/views/errors/500.blade.phpindex d59b5bc283..553264f00e 100644--- a/resources/views/errors/500.blade.php+++ b/resources/views/errors/500.blade.php@@ -5,7 +5,7 @@<h1 class="text-3xl font-bold tracking-tight dark:text-white">Wait, this is not cool...</h1><p class="mt-2 text-lg leading-7 text-neutral-300">There has been an error with the following error message:</p>@if ($exception->getMessage() !== '')- <div class="mt-6 text-sm text-red-500 whitespace-pre-wrap leading-none">+ <div class="mt-6 text-sm text-red-500">{!! $exception->getMessage() !!}</div>@endif