Enable HTTP Early Hints
This commit is contained in:
parent
20c7c20633
commit
977e231e14
|
@ -59,4 +59,4 @@ ENTRYPOINT ["/rails/bin/docker-entrypoint"]
|
||||||
|
|
||||||
# Start the server by default, this can be overwritten at runtime
|
# Start the server by default, this can be overwritten at runtime
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["./bin/rails", "server"]
|
CMD ["./bin/rails", "server", "--early-hints"]
|
||||||
|
|
|
@ -12,10 +12,10 @@ html
|
||||||
- else
|
- else
|
||||||
| Clarion
|
| Clarion
|
||||||
|
|
||||||
= stylesheet_link_tag "management/application"
|
= stylesheet_link_tag "management/application", nopush: false
|
||||||
= csrf_meta_tags
|
= csrf_meta_tags
|
||||||
body
|
body
|
||||||
main
|
main
|
||||||
= render 'layouts/management/flash'
|
= render 'layouts/management/flash'
|
||||||
== yield
|
== yield
|
||||||
= javascript_include_tag "management/application"
|
= javascript_include_tag "management/application", nopush: false
|
||||||
|
|
|
@ -15,11 +15,11 @@ html
|
||||||
- else
|
- else
|
||||||
| Clarion
|
| Clarion
|
||||||
|
|
||||||
= stylesheet_link_tag "management/application"
|
= stylesheet_link_tag "management/application", nopush: false
|
||||||
= csrf_meta_tags
|
= csrf_meta_tags
|
||||||
body
|
body
|
||||||
= render 'layouts/management/navigation'
|
= render 'layouts/management/navigation'
|
||||||
main
|
main
|
||||||
= render 'layouts/management/flash'
|
= render 'layouts/management/flash'
|
||||||
== yield
|
== yield
|
||||||
= javascript_include_tag "management/application"
|
= javascript_include_tag "management/application", nopush: false
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</title>
|
</title>
|
||||||
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
<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" %>
|
<%= stylesheet_link_tag "initfest/application", media: "all", nopush: false %>
|
||||||
<%= javascript_include_tag "initfest/application" %>
|
<%= javascript_include_tag "initfest/application", nopush: false %>
|
||||||
<%= csrf_meta_tags %>
|
<%= csrf_meta_tags %>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in New Issue