Declare media endpoint to micropub query
This commit is contained in:
parent
56594facc4
commit
68bfd12f93
1 changed files with 1 additions and 1 deletions
|
@ -204,10 +204,10 @@ class MicropubController extends Controller
|
|||
]);
|
||||
}
|
||||
//nope, how about a config query?
|
||||
//this should have a media endpoint as well at some point
|
||||
if ($request->input('q') == 'config') {
|
||||
return response()->json([
|
||||
'syndicate-to' => config('syndication.targets'),
|
||||
'media-endpoint' => route('media-endpoint'),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue