mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-27 23:43:17 +00:00
Merge pull request #3181 from pixelfed/staging
Update ProfileController
This commit is contained in:
commit
ce29d9208b
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