Skip to content

Commit

Permalink
add homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
Haldenwat committed Dec 16, 2018
1 parent fec446e commit 8c6690d
Show file tree
Hide file tree
Showing 15 changed files with 2,912 additions and 2,824 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/FileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public function uploadImage(Request $request)
{
$image = $request->getContent();
$client = new Client();
$headers = ['Authorization' => 'Client-ID 1fe844e31f961df'];
$headers = ['Authorization' => 'Client-ID '.config('services.imgur.clientID')];
$body = [
'name' => 'image',
'contents' => $image
Expand Down
112 changes: 56 additions & 56 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@
'secret' => env('STRIPE_SECRET'),
],

'imgur' => [
'clientID' => env('IMGUR_CLIENT_ID'),
]

];
Loading

0 comments on commit 8c6690d

Please sign in to comment.