Shared hosting deployment

Hello, I have a problem to deploy my filament app to a shared hosting.

With Filament v2 I was forced to publish the livewire config and set : 'asset_url' => ''

In livewire 3 asset_url is replaced by :
Livewire::setScriptRoute(function ($handle) {
    return Route::get('/custom/livewire/livewire.js', $handle);
});

But I don't know where (file) I need to add this?
Was this page helpful?