Ad

When Route Url Is Same As The Package Name, It Does Not Work

- 1 answer

I have a lot of URLs in my package routes, but one of them does not seem to work.

When the route is as follows:

Route::get('package_name', '[email protected]');

It does not work, but when it's something as below:

Route::get('something', '[email protected]');

Then it works with no problem.

Ad

Answer

The reason why I had this problem because I was publishing a folder into the public directory with the same name as the package name.

Ad
source: stackoverflow.com
Ad