app/views/layouts/lookbook/skeleton.html.erb in lookbook-1.2.1 vs app/views/layouts/lookbook/skeleton.html.erb in lookbook-1.3.0
- old
+ new
@@ -24,13 +24,13 @@
href="data:image/svg+xml,%3Csvg width='96' height='84' viewBox='0 0 96 84' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath d='M96 0v84H0V0h96Z'/%3E%3C/clipPath%3E%3CclipPath id='b'%3E%3Cpath d='M71.897 0a1.5 1.5 0 0 1 1.31.769l22.605 40.5a1.5 1.5 0 0 1 0 1.462l-22.605 40.5a1.5 1.5 0 0 1-1.31.769H49.481a1 1 0 0 1-.873-1.487L70.812 42.73a1.5 1.5 0 0 0 0-1.462L48.608 1.487A1 1 0 0 1 49.481 0ZM24.655.564l22.72 40.705a1.5 1.5 0 0 1 0 1.462l-22.72 40.705a1 1 0 0 1-1.746 0L.19 42.73a1.5 1.5 0 0 1 0-1.462L22.91.564a1 1 0 0 1 1.746 0Z'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23a)'%3E%3Cg clip-path='url(%23b)'%3E%3Cpath fill='<%= url_encode theme.favicon_light_mode %>' d='M0 0h96v84H0V0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"
media="(prefers-color-scheme: light)">
<% end %>
<script>
- window.LOG_LEVEL = <%= Lookbook::Engine.log_level %>;
+ window.LOG_LEVEL = <%= config.log_level %>;
window.APP_NAME = "<%= Lookbook::Engine.app_name %>";
- <% if Lookbook::Engine.websocket %>
- window.SOCKET_PATH = "<%= Lookbook::Engine.websocket_mount_path %>";
+ <% if Lookbook::Engine.websocket.mounted? %>
+ window.SOCKET_PATH = "<%= Lookbook::Engine.websocket.full_mount_path %>";
<% end %>
</script>
<script src="<%= asset_path("/js/lookbook.js") %>" defer></script>
<% if params[:lookbook_embed] %>