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