From ea856d7f29725fd47aaf0c1a0a00125df81641d5 Mon Sep 17 00:00:00 2001 From: Bert Regelink Date: Tue, 1 Dec 2015 17:48:33 +0100 Subject: [PATCH] Update Entity.Todo.yml The following error occurred when trying to modify, check/uncheck or remove an item from the todo list when the service is accessed using HTTPS: Mixed Content: The page at ... 'https://...' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://...'. This request has been blocked; the content must be served over HTTPS. Using relative URL's in the XML HTTP requests solved it. --- src/Acme/DemoBundle/Resources/config/serializer/Entity.Todo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Acme/DemoBundle/Resources/config/serializer/Entity.Todo.yml b/src/Acme/DemoBundle/Resources/config/serializer/Entity.Todo.yml index affa219..eb4cb41 100644 --- a/src/Acme/DemoBundle/Resources/config/serializer/Entity.Todo.yml +++ b/src/Acme/DemoBundle/Resources/config/serializer/Entity.Todo.yml @@ -25,7 +25,7 @@ Acme\DemoBundle\Entity\Todo: route: get_todo parameters: id: expr(object.getId()) - absolute: true + absolute: false - rel: expr(object.getAssociatedEventsRel()) embed: