Update ProfileController

This commit is contained in:
Daniel Supernault 2022-01-23 02:44:34 -07:00
parent 97a75e0fde
commit 940209018a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -232,7 +232,8 @@ class ProfileController extends Controller
} }
$profile = AccountService::get($profile->id); $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) public function stories(Request $request, $username)