Fixed 404s on instant loading due to race condition

This commit is contained in:
squidfunk 2020-08-30 14:26:07 +02:00
parent 935c384789
commit 0a0fee34d2
7 changed files with 8 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"assets/javascripts/bundle.js": "assets/javascripts/bundle.f0e39e8b.min.js", "assets/javascripts/bundle.js": "assets/javascripts/bundle.7e09dd84.min.js",
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.f0e39e8b.min.js.map", "assets/javascripts/bundle.js.map": "assets/javascripts/bundle.7e09dd84.min.js.map",
"assets/javascripts/vendor.js": "assets/javascripts/vendor.11f47dfd.min.js", "assets/javascripts/vendor.js": "assets/javascripts/vendor.11f47dfd.min.js",
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.11f47dfd.min.js.map", "assets/javascripts/vendor.js.map": "assets/javascripts/vendor.11f47dfd.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.fae956e7.min.js", "assets/javascripts/worker/search.js": "assets/javascripts/worker/search.fae956e7.min.js",

View File

@ -183,7 +183,7 @@
</div> </div>
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/vendor.11f47dfd.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/vendor.11f47dfd.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.f0e39e8b.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.7e09dd84.min.js' | url }}"></script>
{%- set translations = {} -%} {%- set translations = {} -%}
{%- for key in [ {%- for key in [
"clipboard.copy", "clipboard.copy",

View File

@ -188,7 +188,8 @@ export function setupInstantLoading(
return NEVER return NEVER
}) })
) )
) ),
share()
) )
/* Set new location as soon as the document was fetched */ /* Set new location as soon as the document was fetched */