Fix api url for posting annotations
authordurandn
Mon, 20 Jul 2015 16:15:55 +0200
changeset 47 eabe2e3112b3
parent 46 78d86da30d81
child 48 3e7136c28fd2
Fix api url for posting annotations
server/src/remie/templates/remie/iframe.html
--- a/server/src/remie/templates/remie/iframe.html	Mon Jul 20 12:47:13 2015 +0200
+++ b/server/src/remie/templates/remie/iframe.html	Mon Jul 20 16:15:55 2015 +0200
@@ -109,7 +109,7 @@
             polemics : false,
             annotation_type : "user_{{current_user}}",
             api_serializer : "ldt_annotate",
-            api_endpoint_template : "/api/ldt/1.0/annotations/",
+            api_endpoint_template : "{% url 'api_dispatch_list' resource_name='annotations' api_name='1.0' %}",
             api_method : "POST",
             post_at_segment_time : true,
             segments_annotation_type: "découpage",