From f4cef633c0d409c5b90b2915c0c02dd1562c909d Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 19 Dec 2024 15:03:53 +0100 Subject: [PATCH] flake and commented in initializing of tempresult files #72 --- framework/climate/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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