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.

Merge branch 'next' into shadow/fix-service-beszel

Andras Bacsaia95a4129c842
diff --cc app/Livewire/Project/Resource/Create.php
index e2d22b4fdb,224ee9b5e5..f4c5f81b0f
--- a/app/Livewire/Project/Resource/Create.php
+++ b/app/Livewire/Project/Resource/Create.php
@@@ -104,14 -104,17 +104,25 @@@ class Create extends Componen
}
$service->parse(isNew: true);
+ // For Beszel service disable gzip (fixes realtime not working issue)
+ if ($oneClickServiceName === 'beszel') {
+ $appService = $service->applications()->whereName('beszel')->first();
+ if ($appService) {
+ $appService->is_gzip_enabled = false;
+ $appService->save();
+ }
+ }
+ // For Appwrite services, disable strip prefix for services that handle domain requests
+ if ($oneClickServiceName === 'appwrite') {
+ $servicesToDisableStripPrefix = ['appwrite', 'appwrite-console', 'appwrite-realtime'];
+ foreach ($servicesToDisableStripPrefix as $serviceName) {
+ $appService = $service->applications()->whereName($serviceName)->first();
+ if ($appService) {
+ $appService->is_stripprefix_enabled = false;
+ $appService->save();
+ }
+ }
+ }
return redirect()->route('project.service.configuration', [
'service_uuid' => $service->uuid,