jQuery AJAX重定向错误

I am trying to redirect to localhost:3000/app after I successfully triggered a DELETE method. The DELETE is successful, but I get a DELETE http://localhost:3000/app 404 (Not Found). I'm assuming that this is happening because I am declaring a DELETE type and it is carrying this into the done potion of my call. Is there a better way to GET redirect?

<script type="text/javascript">
        $(document).ready(function() {
            $('#annotation-delete-link').click(function(){
                $.ajax({
                    type: 'DELETE',
                    url: '/app/edit/{{annotation.annotationId}}'
                }).done(function() {
                    window.location.href = '/app';
                });
            });
        });
    </script>