# HG changeset patch # User durandn # Date 1437401755 -7200 # Node ID eabe2e3112b326e5117decbded25cc3c27f7cfc6 # Parent 78d86da30d818ea9deb31cdd050fed6dee87851a Fix api url for posting annotations diff -r 78d86da30d81 -r eabe2e3112b3 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",