Merge pull request #3181 from pixelfed/staging

Update ProfileController
This commit is contained in:
daniel 2022-01-23 03:13:33 -07:00 committed by GitHub
commit ce29d9208b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)