-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e0d685
commit 93aa4b3
Showing
198 changed files
with
3,790 additions
and
3,516 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?php declare(strict_types=1); | ||
|
||
return [ | ||
/* | ||
|-------------------------------------------------------------------------- | ||
| Routes configuration | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Set the key as URI at which the GraphiQL UI can be viewed, | ||
| and add any additional configuration for the route. | ||
| | ||
| You can add multiple routes pointing to different GraphQL endpoints. | ||
| | ||
*/ | ||
|
||
'routes' => [ | ||
'/graphiql' => [ | ||
'name' => 'graphiql', | ||
// 'middleware' => ['web'] | ||
// 'prefix' => '', | ||
// 'domain' => 'graphql.' . env('APP_DOMAIN', 'localhost'), | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Default GraphQL endpoint | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The default endpoint that the GraphiQL UI is set to. | ||
| It assumes you are running GraphQL on the same domain | ||
| as GraphiQL, but can be set to any URL. | ||
| | ||
*/ | ||
|
||
'endpoint' => '/', | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Subscription endpoint | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The default subscription endpoint the GraphiQL UI uses to connect to. | ||
| Tries to connect to the `endpoint` value if `null` as ws://{{endpoint}} | ||
| | ||
| Example: `ws://your-endpoint` or `wss://your-endpoint` | ||
| | ||
*/ | ||
|
||
'subscription-endpoint' => env('GRAPHIQL_SUBSCRIPTION_ENDPOINT', null), | ||
], | ||
], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Control GraphiQL availability | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Control if the GraphiQL UI is accessible at all. | ||
| This allows you to disable it in certain environments, | ||
| for example you might not want it active in production. | ||
| | ||
*/ | ||
|
||
'enabled' => env('GRAPHIQL_ENABLED', true), | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.