fix: department page SSR crash rendering empty body on hard reload
- Remove this. prefix from template expression in Departments/Show.vue (ssrRender this is undefined in strict ESM) - Register helpers mixin in ssr.js for parity with app.js - SafeSsrGateway: fallback to client-side render when SSR returns empty body or server unavailable - Jenkins: start SSR server in background, add health check
This commit is contained in:
@@ -45,8 +45,10 @@ use App\Services\App\Cache\SliderCacheService;
|
||||
use App\Services\App\Cache\SubSectionCacheService;
|
||||
use App\Ship\Contracts\SeoServiceInterface;
|
||||
use App\Ship\Services\SeoPageService;
|
||||
use App\Ship\Ssr\SafeSsrGateway;
|
||||
use Carbon\Carbon;
|
||||
use Filament\Facades\Filament;
|
||||
use Inertia\Ssr\Gateway;
|
||||
use Filament\Support\Facades\FilamentView;
|
||||
use Filament\Tables\View\TablesRenderHook;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
@@ -65,6 +67,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
public function register(): void
|
||||
{
|
||||
$this->app->bind(SeoServiceInterface::class, SeoPageService::class);
|
||||
$this->app->bind(Gateway::class, SafeSsrGateway::class);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user