From 35ecdc72b5a6ae6f74cfee682b5b6ddad48e5538 Mon Sep 17 00:00:00 2001 From: the-codeboy <71213855+the-codeboy@users.noreply.github.com> Date: Sat, 16 Mar 2024 11:58:29 +0100 Subject: [PATCH] Using cors proxy to save with correct file name --- src/main.rs | 16 +++++++++++----- templates/download.tera | 22 +++++++++++++++++++--- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/src/main.rs b/src/main.rs index 4dc1a7a..8fbd633 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,8 +10,8 @@ use rocket::Request; use rocket_dyn_templates::{context, Template}; enum MyResponse { - Redirect(Redirect), - Template(Template), + Redirect(Box), + Template(Box