summaryrefslogtreecommitdiff
path: root/indoteknik_api/controllers/controller.py
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_api/controllers/controller.py')
-rw-r--r--indoteknik_api/controllers/controller.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/indoteknik_api/controllers/controller.py b/indoteknik_api/controllers/controller.py
index f41983ca..c02f6b60 100644
--- a/indoteknik_api/controllers/controller.py
+++ b/indoteknik_api/controllers/controller.py
@@ -50,10 +50,7 @@ class Controller(http.Controller):
response.update({'result': data})
response = json.dumps(response)
- return request.make_response(response, [
- ('Content-Type', 'application/json'),
- ('Access-Control-Allow-Origin', '*')
- ])
+ return request.make_response(response, [('Content-Type', 'application/json')])
def search_filter(self, model: str, kw: dict, query: array = []):
""" To search data by default API Params if exist """