added CORS middleware

This commit is contained in:
smilerz
2021-03-28 18:39:20 -05:00
parent 7bc3292301
commit 30a357e27f
9 changed files with 62 additions and 36 deletions

View File

@@ -26,7 +26,7 @@
<h2> {% trans 'Import' %}</h2>
<a class="btn btn-outline-info btn-sm"
style="height:50%"
href="{% bookmarklet request.get_host request.is_secure %}"
href="{% bookmarklet request %}"
title="{% trans 'Drag me to your bookmarks to import recipes from anywhere' %}">
<img src="{% static 'assets/favicon-16x16.png' %}">{% trans 'Bookmark Me!' %} </a>
</div>