diff --git a/framework/climate/views.py b/framework/climate/views.py index e21d8fa..46e8a52 100644 --- a/framework/climate/views.py +++ b/framework/climate/views.py @@ -122,7 +122,8 @@ # - 2. easy access point to read the filenames corresponding db object # ( metadata, versioncheck, ..) # - 3. serve and maybe generate first -> file for download - + + @api_view(["GET"]) def serve_static_file_with_cors(request, filename): # Construct the full file path based on STATICFILES_DIRS