From ce648e18122a2d0c6dba8d48cba45a3ab0e0d66d Mon Sep 17 00:00:00 2001 From: andrpet Date: Fri, 8 Jan 2016 15:18:36 +0100 Subject: [PATCH] l20n bug fix --- DEEP.php | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/DEEP.php b/DEEP.php index 590fcb7..61a2722 100755 --- a/DEEP.php +++ b/DEEP.php @@ -69,6 +69,7 @@ class DEEP { $this->app->get('/datalets-list', function(){ $this->app->response()->header("Content-Type", "application/json"); $this->app->response()->header("Access-Control-Allow-Origin", "*"); + $this->app->response()->header("Access-Control-Expose-Headers", "Location"); echo json_encode($this->all_datalets); }); @@ -77,6 +78,7 @@ class DEEP { $this->app->get('/controllets-list', function(){ $this->app->response()->header("Content-Type", "application/json"); $this->app->response()->header("Access-Control-Allow-Origin", "*"); + $this->app->response()->header("Access-Control-Expose-Headers", "Location"); echo json_encode($this->all_controllets); }); @@ -124,6 +126,7 @@ class DEEP { $this->app->response()->header("Content-Type", "application/json"); $this->app->response()->header("Access-Control-Allow-Origin", "*"); + $this->app->response()->header("Access-Control-Expose-Headers", "Location"); echo json_encode($response); }); } -- libgit2 0.21.4