mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update ProfileController
This commit is contained in:
parent
97a75e0fde
commit
940209018a
1 changed files with 2 additions and 1 deletions
|
@ -232,7 +232,8 @@ class ProfileController extends Controller
|
|||
}
|
||||
|
||||
$profile = AccountService::get($profile->id);
|
||||
return view('profile.embed', compact('profile'))->withHeaders(['X-Frame-Options' => 'ALLOWALL']);
|
||||
$res = view('profile.embed', compact('profile'));
|
||||
return response($res)->withHeaders(['X-Frame-Options' => 'ALLOWALL']);
|
||||
}
|
||||
|
||||
public function stories(Request $request, $username)
|
||||
|
|
Loading…
Reference in a new issue