Merge pull request #3446 from pixelfed/staging

Remove arbitrary metro url redirect timeout
This commit is contained in:
daniel 2022-05-14 00:00:20 -06:00 committed by GitHub
commit cfce080cba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -7,6 +7,7 @@
- Enforce UTC in incoming activities ([18931a1f](https://github.com/pixelfed/pixelfed/commit/18931a1f))
- Add storage flags to admin dashboard diagnostics ([#3444](https://github.com/pixelfed/pixelfed/pull/3444))
- Hardcode UTC application timezone to prevent timezone issues ([b0d2c5e1](https://github.com/pixelfed/pixelfed/commit/b0d2c5e1))
- Remove arbitrary metro url redirect timeout ([84209c24](https://github.com/pixelfed/pixelfed/commit/84209c24))
## [v0.11.3 (2022-05-09)](https://github.com/pixelfed/pixelfed/compare/v0.11.2...v0.11.3)

View file

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