Use base path including the server name and protocol.

This should help against the mixed security errors on Heroku.
This commit is contained in:
Jan Böhmer 2019-04-05 21:09:01 +02:00
parent 27f2b040af
commit 15a036f2c6

View file

@ -18,7 +18,7 @@
{{ encore_entry_link_tags('app') }}
{% endblock %}
</head>
<body data-base-url="{{ app.request.basePath }}/{{ app.request.locale }}">
<body data-base-url="{{ app.request.schemeAndHttpHost }}{{ app.request.baseUrl }}/{{ app.request.locale }}">
{% block body %}
<header>