Commit ce648e18122a2d0c6dba8d48cba45a3ab0e0d66d

Authored by Andrea Petta
1 parent a8e7c2ae

l20n bug fix

Showing 1 changed file with 3 additions and 0 deletions
DEEP.php
... ... @@ -69,6 +69,7 @@ class DEEP {
69 69 $this->app->get('/datalets-list', function(){
70 70 $this->app->response()->header("Content-Type", "application/json");
71 71 $this->app->response()->header("Access-Control-Allow-Origin", "*");
  72 + $this->app->response()->header("Access-Control-Expose-Headers", "Location");
72 73 echo json_encode($this->all_datalets);
73 74  
74 75 });
... ... @@ -77,6 +78,7 @@ class DEEP {
77 78 $this->app->get('/controllets-list', function(){
78 79 $this->app->response()->header("Content-Type", "application/json");
79 80 $this->app->response()->header("Access-Control-Allow-Origin", "*");
  81 + $this->app->response()->header("Access-Control-Expose-Headers", "Location");
80 82 echo json_encode($this->all_controllets);
81 83  
82 84 });
... ... @@ -124,6 +126,7 @@ class DEEP {
124 126  
125 127 $this->app->response()->header("Content-Type", "application/json");
126 128 $this->app->response()->header("Access-Control-Allow-Origin", "*");
  129 + $this->app->response()->header("Access-Control-Expose-Headers", "Location");
127 130 echo json_encode($response);
128 131 });
129 132 }
... ...