Skip to content

Commit

Permalink
Update config_cache
Browse files Browse the repository at this point in the history
  • Loading branch information
dansup committed Mar 10, 2024
1 parent b0cb445 commit bf46f6f
Show file tree
Hide file tree
Showing 4 changed files with 487 additions and 493 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/ProfileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public function embed(Request $request, $username)
{
$res = view('profile.embed-removed');

if (! config('instance.embed.profile')) {
if (! (bool) config_cache('instance.embed.profile')) {
return response($res)->withHeaders(['X-Frame-Options' => 'ALLOWALL']);
}

Expand Down
Loading

0 comments on commit bf46f6f

Please sign in to comment.