Enable HTTP Early Hints

This commit is contained in:
Petko Bordjukov 2024-04-14 00:31:52 +03:00
parent 20c7c20633
commit 977e231e14
4 changed files with 7 additions and 7 deletions

View File

@ -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"]

View File

@ -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

View File

@ -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

View File

@ -11,8 +11,8 @@
<% end %>
</title>
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0">
<%= 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 %>
</head>
<body>