1
0
Fork 0

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
1 changed files with 2 additions and 1 deletions

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)