Browse Source

Remove arbitrary metro url redirect timeout

Daniel Supernault 3 years ago
parent
commit
84209c2433
1 changed files with 0 additions and 3 deletions
  1. 0 3
      app/Http/Controllers/SpaController.php

+ 0 - 3
app/Http/Controllers/SpaController.php

@@ -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']);
 		}