fix(graphql): graphql config (#925)

This commit is contained in:
Kyrch
2025-08-16 02:13:09 -03:00
committed by GitHub
parent 444884921c
commit dc522d1a5f
+4 -2
View File
@@ -86,7 +86,7 @@ use App\GraphQL\Definition\Unions\ResourceableUnion;
return [
'route' => [
// The prefix for routes; do NOT use a leading slash!
'prefix' => 'graphql',
'prefix' => env('GRAPHQL_PATH', '/'),
// The controller/method to use in GraphQL request.
// Also supported array syntax: `[\Rebing\GraphQL\GraphQLController::class, 'query']`
@@ -102,7 +102,9 @@ return [
//
// 'group_attributes' => ['guard' => 'api']
//
'group_attributes' => [],
'group_attributes' => [
'guard' => 'web',
],
],
// The name of the default schema