Browse Source

Domain string

pull/720/head v0.1.28
baarkerlounger 3 years ago
parent
commit
e87fc8bae6
  1. 2
      app/views/layouts/application.html.erb

2
app/views/layouts/application.html.erb

@ -35,7 +35,7 @@
<% end %> <% end %>
<% if Rails.env.production? %> <% if Rails.env.production? %>
<script defer data-domain=<%= ENV["APP_HOST"].split("https://")[1] %>src="https://plausible.io/js/plausible.js"></script> <script defer data-domain="<%= ENV["APP_HOST"].split("https://")[1] %>" src="https://plausible.io/js/plausible.js"></script>
<% end %> <% end %>
</head> </head>

Loading…
Cancel
Save