Skip to content

Commit 49a4ab8

Browse files
committed
Simplify
1 parent 307339d commit 49a4ab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/web.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
Route::get('callback', function (Illuminate\Http\Request $request) {
116116
$url = $request->query('url');
117117

118-
if ($url && str_starts_with($url, 'nativephp://')) {
118+
if ($url && !str_starts_with($url, 'http')) {
119119
return redirect()->away($url.'?token='.uuid_create());
120120
}
121121

0 commit comments

Comments
 (0)