diff --git a/backend/core/static/pdf/risklet_example_document.pdf b/backend/core/static/pdf/risklet_example_document.pdf deleted file mode 100644 index bada75b..0000000 Binary files a/backend/core/static/pdf/risklet_example_document.pdf and /dev/null differ diff --git a/backend/core/templates/index.html b/backend/core/templates/index.html index ec8f99a..f472b70 100644 --- a/backend/core/templates/index.html +++ b/backend/core/templates/index.html @@ -20,9 +20,6 @@ Download our free white paper showing exactly how Risklet pinpoints critical vulnerabilities for NIS2 compliance and recommends cost-effective controls.

- - Download FREE Report Sample - Learn More diff --git a/backend/core/urls.py b/backend/core/urls.py index 57cf8da..f985f4f 100644 --- a/backend/core/urls.py +++ b/backend/core/urls.py @@ -15,7 +15,6 @@ urlpatterns = [ path('pdf//', v.pdf_view, name='pdf_view'), path('api/validate_form_fields/', v.validate_form_fields, name='validate_form_fields'), path('no_confidential_data/', v.no_confidential_data, name='no_confidential_data'), - path('downloads/risklet_example_document.pdf', v.download_example_pdf, name='download_example_pdf'), path('validate_code/', v.validate_code, name='validate_code'), #admin urls diff --git a/backend/core/views.py b/backend/core/views.py index a403828..8db71d9 100644 --- a/backend/core/views.py +++ b/backend/core/views.py @@ -144,12 +144,6 @@ def no_confidential_data(request): return render(request, "no_confidential_data.html") -def download_example_pdf(request): - pdf_path = os.path.join(settings.BASE_DIR, 'backend/core/static/pdf/risklet_example_document.pdf') - if not os.path.exists(pdf_path): - raise Http404("File not found.") - return FileResponse(open(pdf_path, 'rb'), as_attachment=True, filename='risklet_example_document.pdf') - @staff_member_required def payment_codes_pdf_view(request):