DPP/DLT functionality #36

Merged
pedro merged 68 commits from dpp into main 2024-12-11 15:15:14 +00:00
Showing only changes of commit 53524643c8 - Show all commits

View file

@ -84,7 +84,9 @@ class PublicDeviceWebView(TemplateView):
def get_json_response(self): def get_json_response(self):
device_data = self.get_result() device_data = self.get_result()
# device_data = self.get_device_data() # device_data = self.get_device_data()
return JsonResponse(device_data) response = JsonResponse(device_data)
response["Access-Control-Allow-Origin"] = "*"
return response
def get_result(self): def get_result(self):
components = [] components = []