From 14703c9f91824c291a4f4bd14717d55d52d4ff8e Mon Sep 17 00:00:00 2001 From: Bryan Gerlach Date: Sun, 11 Jan 2026 15:22:12 -0600 Subject: [PATCH] test input hiding --- rdgenerator/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rdgenerator/views.py b/rdgenerator/views.py index e57b490..24a3de2 100644 --- a/rdgenerator/views.py +++ b/rdgenerator/views.py @@ -259,7 +259,7 @@ def generator_view(request): if os.path.exists(temp_json_path): os.remove(temp_json_path) - zip_url = f"{_settings.PROTOCOL}://{request.get_host()}/media/temp_zips/{zip_filename}" + zip_url = f"{_settings.PROTOCOL}://{request.get_host()}/temp_zips/{zip_filename}" data = { "ref":_settings.GHBRANCH, @@ -456,7 +456,7 @@ def cleanup_secrets(request): return HttpResponse("Missing UUID", status=400) # 1. Find the files in your temp directory matching the UUID - temp_dir = os.path.join(_settings.MEDIA_ROOT, 'temp_zips') + temp_dir = os.path.join('temp_zips') # We look for any file starting with 'secrets_' and containing the uuid for filename in os.listdir(temp_dir):