feat: get number of follows on public profile

This commit is contained in:
2026-05-28 20:52:48 +02:00
parent 1db50bc69a
commit c9dafc0f05
4 changed files with 27 additions and 0 deletions
+9
View File
@@ -7,6 +7,9 @@ use App\Listeners\GrantCreditsFromStripeWebhook;
use App\Mail\ResetPasswordMail;
use App\Mail\VerifyAccount;
use App\Models\User;
use Dedoc\Scramble\Scramble;
use Dedoc\Scramble\Support\Generator\OpenApi;
use Dedoc\Scramble\Support\Generator\SecurityScheme;
use Illuminate\Auth\Notifications\ResetPassword;
use Illuminate\Auth\Notifications\VerifyEmail;
use Illuminate\Cache\RateLimiting\Limit;
@@ -45,6 +48,12 @@ class AppServiceProvider extends ServiceProvider
{
$this->configureRateLimiting();
Scramble::afterOpenApiGenerated(function (OpenApi $openApi) {
$openApi->secure(
SecurityScheme::http('bearer')
);
});
if ($this->app->environment('production')) {
URL::forceScheme('https');
}