From the title itself, I have a weird Laravel bug. I have test page for my home page which has a route name of "main". It works perfectly fine. However, when I tried to change it from route::get("main") to route::get("/") I end up with a white page. No errors, when I view source, no code or whatsoever. I am running Laravel 5.6
// Landing Page actual Route
// White Page
Route::get('/', function () {
return view('templates.landing-blank');
});
// Landing Page
// Works Perfectly.
Route::get('main', function() {
return view('templates.landing-blank');
});
Is this something related to htaccess? I already doubled checked everything and copied the htaccess but still no avail. I also did a composer update and the problems still persist.