Settings fix

remotes/origin/hotfix/LIL-661
nikita 7 years ago
parent 2f7256192a
commit 8db78ec125
  1. 3
      project/templates/blocks/lil_store_js.html

@ -1,7 +1,8 @@
{% load static %}
{% load setting from settings %}
<script>
window.LIL_STORE = {
pusherKey: '{{ settings.PUSHER_KEY }}',
pusherKey: '{% setting "PUSHER_KEY" %}',
staticUrl: '{% static "" %}',
accessToken: '{{ request.user.auth_token }}',
isMobile: {{ request.user_agent.is_mobile|yesno:"true,false" }},

Loading…
Cancel
Save