Made embed tag use absolute URL

This commit is contained in:
David Taylor
2016-10-05 10:39:50 +01:00
parent a02087bf2a
commit 17c7a3c524

View File

@@ -4,7 +4,7 @@
{% block extra-head %}
<link rel="alternate" type="application/json+oembed"
href="{{event.get_absolute_url}}oembed"
href="{{request.scheme}}://{{request.META.HTTP_HOST}}{{event.get_absolute_url}}oembed"
title="RIGS Event Embed" />
{% endblock %}