Skip to content

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.

Update server check and version numbers

Andras Bacsai600c43827ab5
diff --git a/app/Livewire/Project/Shared/ExecuteContainerCommand.php b/app/Livewire/Project/Shared/ExecuteContainerCommand.php
index 3687669a9b..a33716e722 100644
--- a/app/Livewire/Project/Shared/ExecuteContainerCommand.php
+++ b/app/Livewire/Project/Shared/ExecuteContainerCommand.php
@@ -107,6 +107,9 @@ class ExecuteContainerCommand extends Component
{
$this->validate();
try {
+ if ($this->server->isForceDisabled()) {
+ throw new \RuntimeException('Server is disabled.');
+ }
// Wrap command to prevent escaped execution in the host.
$cmd = 'sh -c "if [ -f ~/.profile ]; then . ~/.profile; fi; ' . str_replace('"', '\"', $this->command) . '"';
if (!empty($this->workDir)) {
diff --git a/config/sentry.php b/config/sentry.php
index 40a4c9906a..96c7207e02 100644
--- a/config/sentry.php
+++ b/config/sentry.php
@@ -7,7 +7,7 @@ return [
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
- 'release' => '4.0.0-beta.225',
+ 'release' => '4.0.0-beta.226',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),
diff --git a/config/version.php b/config/version.php
index c3f92910d0..b0f6d74530 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,3 +1,3 @@
<?php
-return '4.0.0-beta.225';
+return '4.0.0-beta.226';
diff --git a/versions.json b/versions.json
index 2dab168ea2..f26a88b431 100644
--- a/versions.json
+++ b/versions.json
@@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
- "version": "4.0.0-beta.225"
+ "version": "4.0.0-beta.226"
}
}
}