mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 16:10:08 +01:00
Merge pull request #705 from samgranger/patch-1
Add JSON:API support for Drupal
This commit is contained in:
@@ -57,7 +57,7 @@ public function frontControllerPath($sitePath, $siteName, $uri)
|
||||
{
|
||||
$sitePath = $this->addSubdirectory($sitePath);
|
||||
|
||||
if (!isset($_GET['q']) && !empty($uri) && $uri !== '/') {
|
||||
if (!isset($_GET['q']) && !empty($uri) && $uri !== '/' && strpos($uri, '/jsonapi/') === false) {
|
||||
$_GET['q'] = $uri;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user