diff --git a/Dockerfile b/Dockerfile index 148e461..4ed46a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,4 +59,4 @@ ENTRYPOINT ["/rails/bin/docker-entrypoint"] # Start the server by default, this can be overwritten at runtime EXPOSE 3000 -CMD ["./bin/rails", "server"] +CMD ["./bin/rails", "server", "--early-hints"] diff --git a/app/views/layouts/application.html.slim b/app/views/layouts/application.html.slim index ae1b9bc..4d17920 100644 --- a/app/views/layouts/application.html.slim +++ b/app/views/layouts/application.html.slim @@ -12,10 +12,10 @@ html - else | Clarion - = stylesheet_link_tag "management/application" + = stylesheet_link_tag "management/application", nopush: false = csrf_meta_tags body main = render 'layouts/management/flash' == yield - = javascript_include_tag "management/application" + = javascript_include_tag "management/application", nopush: false diff --git a/app/views/layouts/management.html.slim b/app/views/layouts/management.html.slim index 8fe5147..23f52af 100644 --- a/app/views/layouts/management.html.slim +++ b/app/views/layouts/management.html.slim @@ -15,11 +15,11 @@ html - else | Clarion - = stylesheet_link_tag "management/application" + = stylesheet_link_tag "management/application", nopush: false = csrf_meta_tags body = render 'layouts/management/navigation' main = render 'layouts/management/flash' == yield - = javascript_include_tag "management/application" + = javascript_include_tag "management/application", nopush: false diff --git a/lib/initfest/views/layouts/public/application.html.erb b/lib/initfest/views/layouts/public/application.html.erb index 4b53644..ba79dff 100644 --- a/lib/initfest/views/layouts/public/application.html.erb +++ b/lib/initfest/views/layouts/public/application.html.erb @@ -11,8 +11,8 @@ <% end %> - <%= stylesheet_link_tag "initfest/application", media: "all" %> - <%= javascript_include_tag "initfest/application" %> + <%= stylesheet_link_tag "initfest/application", media: "all", nopush: false %> + <%= javascript_include_tag "initfest/application", nopush: false %> <%= csrf_meta_tags %>