Login Route
Route::get('/', [HomeController::class, 'index'])
->name('index')
->breadcrumbs(function (Trail $trail) {
$trail->push(__('Home'), route('frontend.index'));
});
Authentication Routes
Route::get('login', [LoginController::class, 'showLoginForm'])->name('login');
Route::post('login', [LoginController::class, 'login']);
Problem:
My project is working fine when I run it locally but when I upload it on the server it shows Method Not Allowed exception. I don't know why. When I used to run URL like www.domain.com/billingsystem/ it gives the above error but when I run URL like www.domain.com/billingsystem/index.php or www.domain.com/billingsystem/public it runs fine on the server. I am actually not finding the solution for this anyone please help me regarding this.
Thanks and Regards.