From f0828703a4f50d55e385236fe10dc3e40bb406c3 Mon Sep 17 00:00:00 2001 From: spitkov Date: Sun, 8 Sep 2024 14:04:22 +0200 Subject: [PATCH] Update app.py --- app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app.py b/app.py index fd25782..f623872 100644 --- a/app.py +++ b/app.py @@ -119,6 +119,7 @@ def redirect_vanity(vanity): 'size': os.path.getsize(file_path), 'modified_at': datetime.fromtimestamp(os.path.getmtime(file_path)).strftime('%Y-%m-%d %H:%M:%S'), 'url': url_for('download_file', vanity=vanity) + } @app.route('//raw', methods=['GET']) ef redirect_vanity(vanity): target = data_store.get(vanity)