mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
30 lines
549 B
PHP
30 lines
549 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Http\Controllers\Api\BaseApiController;
|
|
use App\{
|
|
Follower,
|
|
Like,
|
|
Place,
|
|
Profile,
|
|
UserFilter
|
|
};
|
|
use Auth, Cache;
|
|
use Illuminate\Support\Facades\Redis;
|
|
use App\Util\Site\Config;
|
|
use Illuminate\Http\Request;
|
|
|
|
class ApiController extends BaseApiController
|
|
{
|
|
public function siteConfiguration(Request $request)
|
|
{
|
|
return response()->json(Config::get());
|
|
}
|
|
|
|
public function userRecommendations(Request $request)
|
|
{
|
|
return response()->json([]);
|
|
}
|
|
}
|