mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-07 13:44:23 +08:00
Set explicit format for global_constants javascript [SCI-11567]
This commit is contained in:
parent
1f08fbb986
commit
190224009e
3 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@
|
|||
<% if ::NewRelic::Agent.instance.started? %>
|
||||
<%= ::NewRelic::Agent.browser_timing_header(controller.request.content_security_policy_nonce) %>
|
||||
<% end %>
|
||||
<script src="<%= global_constants_path %>"></script>
|
||||
<script src="<%= global_constants_path(format: :js) %>"></script>
|
||||
|
||||
<%= javascript_include_tag 'jquery_bundle' %>
|
||||
<%= javascript_include_tag 'application_pack' %>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<meta data-hook="head-js">
|
||||
<title><%=t "head.title", title: (yield :head_title) %></title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<script src="<%= global_constants_path %>"></script>
|
||||
<script src="<%= global_constants_path(format: :js) %>"></script>
|
||||
|
||||
<%= stylesheet_link_tag "tailwind", "data-turbo-track": "reload" %>
|
||||
<%= stylesheet_link_tag 'bootstrap_pack', media: 'all' %>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<style media="all">
|
||||
html, body { height: 100%; min-height: 100%; }
|
||||
</style>
|
||||
<script src="<%= global_constants_path %>"></script>
|
||||
<script src="<%= global_constants_path(format: :js) %>"></script>
|
||||
|
||||
<%= stylesheet_link_tag "tailwind", "data-turbo-track": "reload" %>
|
||||
<%= stylesheet_link_tag 'bootstrap_pack', media: 'all' %>
|
||||
|
|
Loading…
Add table
Reference in a new issue