We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
LaravelValetDriver
/public/*.php
1 parent 6ce806c commit f978e9fCopy full SHA for f978e9f
1 file changed
cli/Valet/Drivers/LaravelValetDriver.php
@@ -70,6 +70,9 @@ public function isStaticFile($sitePath, $siteName, $uri) {
70
* @return string
71
*/
72
public function frontControllerPath($sitePath, $siteName, $uri) {
73
+ if (file_exists($staticFilePath = "$sitePath/public$uri") && $this->isActualFile($staticFilePath)) {
74
+ return $staticFilePath;
75
+ }
76
77
return "$sitePath/public/index.php";
78
}
0 commit comments