player
How to search for several attributes in filters with relashionships
I have companies table and related tables (e.g. employees). Each employee has company_id field. So I want to show and filter by companies in the employee table, and use such fields like company_name, email, phone. I tried to make several filters at first, but it doesn't work such way
9 replies
Spatie Livewire File Uploads 401 on server
I added
if($this->app->environment('production')) { URL::forceScheme('https'); request()->server->set('HTTPS', request()->header('X-Forwarded-Proto', 'https') == 'https' ? 'on' : 'off'); } to AppProvider, but now I have another issue - uploaded photos don't show - they try to get url from localhost instead of my server domain
if($this->app->environment('production')) { URL::forceScheme('https'); request()->server->set('HTTPS', request()->header('X-Forwarded-Proto', 'https') == 'https' ? 'on' : 'off'); } to AppProvider, but now I have another issue - uploaded photos don't show - they try to get url from localhost instead of my server domain
14 replies
Spatie Livewire File Uploads 401 on server
It should not respond 401 if the problem is connected with file permissions. If so, app would throw an exception in logs. It seems that it doesn't reach the point to upload file.
https://github.com/livewire/livewire/discussions/3084
Look this issue please
14 replies