mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Remove arbitrary metro url redirect timeout
This commit is contained in:
parent
6a1b9d82d9
commit
84209c2433
1 changed files with 0 additions and 3 deletions
|
@ -35,7 +35,6 @@ class SpaController extends Controller
|
|||
isset($post['local']) &&
|
||||
$post['local'] === true
|
||||
) {
|
||||
sleep(5);
|
||||
return redirect($post['url']);
|
||||
}
|
||||
|
||||
|
@ -55,8 +54,6 @@ class SpaController extends Controller
|
|||
|
||||
$account = AccountService::get($id);
|
||||
|
||||
sleep(5);
|
||||
|
||||
if($account && isset($account['url']) && $account['local']) {
|
||||
return redirect($account['url']);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue