Filamentphp in shared hosting

i have problem when upload my project in shared hosting i not have sub domain to add the request to public dir and when try to access the project by write the public in url this error message show The POST method is not supported for route admin/login i used filament V3 with laravel 10 and php 8.2.26
No description
Solution:
@charlie @igorclauss now it work after i publish the livewire assets and add this code in route provider Livewire::setUpdateRoute(function ($handle) {...
Jump to solution
6 Replies
charlie
charlie2w ago
you need to make your domain (or subdomain) point to the public dir it's the most basic feature for most shared hostings
nazar
nazarOP2w ago
i cannot point the domain to public dir because ||i have more app in hosting
igorclauss
igorclauss2w ago
For me it looks more like you haven't published livewire assets. Check your browser console
charlie
charlie2w ago
make a subdomain?
nazar
nazarOP2w ago
i dont have permission to create sub domain in my hosting 😢 i try publish the livewire assets this error appear The requested URL was not found on this server. Apache/2.4.59 (Win64) OpenSSL/3.1.5 PHP/8.2.18 mod_fcgid/2.3.10-dev Server at localhost Port 80
Solution
nazar
nazar2w ago
@charlie @igorclauss now it work after i publish the livewire assets and add this code in route provider Livewire::setUpdateRoute(function ($handle) { return Route::post('/test-app/public/livewire/update', $handle) ->middleware('web'); });
Want results from more Discord servers?
Add your server