Skip to content

Commit 73b7ea4

Browse files
author
willyreyno
committed
add default value to config helper
1 parent f410cb9 commit 73b7ea4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/routes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?php
22

3-
Route::get(config('graphqlite.uri'), 'TheCodingMachine\\GraphQLite\\Laravel\\Controllers\\GraphQLiteController@index');
4-
Route::post(config('graphqlite.uri'), 'TheCodingMachine\\GraphQLite\\Laravel\\Controllers\\GraphQLiteController@index');
3+
Route::get(config('graphqlite.uri', '/graphql'), 'TheCodingMachine\\GraphQLite\\Laravel\\Controllers\\GraphQLiteController@index');
4+
Route::post(config('graphqlite.uri', '/graphql'), 'TheCodingMachine\\GraphQLite\\Laravel\\Controllers\\GraphQLiteController@index');

0 commit comments

Comments
 (0)