Skip to content

Commit 7fcd587

Browse files
committed
added env
1 parent 1a644f2 commit 7fcd587

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/config/config.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
| Google application name
77
|----------------------------------------------------------------------------
88
*/
9-
'application_name' => '',
9+
'application_name' => env('GOOGLE_APPLICATION_NAME', ''),
1010

1111
/*
1212
|----------------------------------------------------------------------------
@@ -17,9 +17,9 @@
1717
| https://developers.google.com/console
1818
|
1919
*/
20-
'client_id' => '',
21-
'client_secret' => '',
22-
'redirect_uri' => '',
20+
'client_id' => env('GOOGLE_CLIENT_ID', ''),
21+
'client_secret' => env('GOOGLE_CLIENT_SECRET', ''),
22+
'redirect_uri' => env('GOOGLE_REDIRECT', ''),
2323
'scopes' => [],
2424
'access_type' => 'online',
2525
'approval_prompt' => 'auto',
@@ -33,7 +33,7 @@
3333
| a Server key, and not a Browser key.
3434
|
3535
*/
36-
'developer_key' => '',
36+
'developer_key' => env('GOOGLE_DEVELOPER_KEY', ''),
3737

3838
/*
3939
|----------------------------------------------------------------------------
@@ -48,12 +48,12 @@
4848
/*
4949
| Enable service account auth or not.
5050
*/
51-
'enable' => false,
51+
'enable' => env('GOOGLE_SERVICE_ENABLED', false),
5252

5353
/*
5454
5555
*/
56-
'account' => '',
56+
'account' => env('GOOGLE_SERVICE_ACCOUNT', ''),
5757

5858
/*
5959
| Example ['https://www.googleapis.com/auth/cloud-platform']
@@ -64,6 +64,6 @@
6464
| Path to key file
6565
| Example storage_path().'/key/google.p12'
6666
*/
67-
'key' => '',
67+
'key' => storage_path().env('GOOGLE_SERVICE_KEY', ''),
6868
],
6969
];

0 commit comments

Comments
 (0)