Skip to content

Commit

Permalink
More live debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dqwiki authored Jul 30, 2024
1 parent 2495143 commit 19fa113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Appeal/PublicAppealController.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public function view(Request $request)
$weborigin = str_replace('http://','',str_replace('https://','',$request->header('origin')));
$envappurl = str_replace('http://','',str_replace('https://','',env('APP_URL')));
if($weborigin != $envappurl) {
abort(403, "Header mismatch");
abort(403, "Header mismatch - ".$envappurl." vs ".$weborigin);
}
$appealkey = $request->input('appealkey');
$appeal = Appeal::where('appealsecretkey', '=', $appealkey)->first();
Expand Down

0 comments on commit 19fa113

Please sign in to comment.