Use the correct micoprub client URL in the generate token command

This commit is contained in:
Jonny Barnes 2017-02-20 17:13:19 +00:00
parent a69a7f9a50
commit a03ede18e0

View file

@ -48,7 +48,7 @@ class GenerateToken extends Command
{
$data = [
'me' => config('app.url'),
'client_id' => config('app.url') . '/notes/new',
'client_id' => route('micropub-client'),
'scope' => 'post',
];
$token = $tokenService->getNewToken($data);