Skip to content
Snippets Groups Projects
Commit 6418a1c5 authored by catch's avatar catch
Browse files

Issue #2771733 by joelpittet: Remove _no_big_pipe: TRUE @todo

parent 32fa9448
No related branches found
No related tags found
No related merge requests found
......@@ -58,8 +58,7 @@ function big_pipe_page_attachments(array &$page) {
'#noscript' => TRUE,
'#attributes' => [
'http-equiv' => 'Refresh',
// @todo: Switch to Url::fromRoute() once https://www.drupal.org/node/2589967 is resolved.
'content' => '0; URL=' . Url::fromUri('internal:/big_pipe/no-js', ['query' => \Drupal::service('redirect.destination')->getAsArray()])->toString(),
'content' => '0; URL=' . Url::fromRoute('big_pipe.nojs', [], ['query' => \Drupal::service('redirect.destination')->getAsArray()])->toString(),
],
],
'big_pipe_detect_nojs',
......
......@@ -452,8 +452,6 @@ system.batch_page.html:
_format: 'html'
options:
_admin_route: TRUE
# @todo Remove the '_no_big_pipe' route option when https://www.drupal.org/node/2589967 lands.
_no_big_pipe: TRUE
system.batch_page.json:
path: '/batch'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment