1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-07 09:10:03 +01:00

tweaks to drivers. add jigsaw

This commit is contained in:
Taylor Otwell
2016-05-05 14:47:34 -05:00
parent 7d8a3e47a6
commit e0da86d2eb
4 changed files with 46 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ class StaticValetDriver extends ValetDriver
*/
public function serves($sitePath, $siteName, $uri)
{
return file_exists($sitePath.'/index.html');
return $this->isStaticFile($sitePath, $siteName, $uri) !== false;
}
/**