Fix:(service) Beszel realtime feature not working (#7366)
This commit is contained in:
commit
3a94f1ea18
1 changed files with 8 additions and 0 deletions
|
|
@ -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'];
|
||||
|
|
|
|||
Loading…
Reference in a new issue