Dont include the protocol in the base path. This causes problems on servers behind reverse proxies.

This commit is contained in:
Jan Böhmer 2019-03-25 22:39:20 +01:00
parent fd541c874d
commit ccd4e82aed

View file

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