Fix:(service) Beszel realtime feature not working (#7366)

This commit is contained in:
Andras Bacsai 2025-11-28 11:08:12 +01:00 committed by GitHub
commit 3a94f1ea18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -104,6 +104,14 @@ public function mount()
}
$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'];