diff --git a/README.md b/README.md index 26a5aca..17d401b 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,15 @@ --- +## ✅ v1.0.1 Fixes + +Fixed bugs in v1.0.0: +- 🔍 **Search UI**: Added the missing file-search UI to the interface +- 🗑️ **Delete Share**: Fixed the inability to delete share links +- 🖼️ **Share Page Icons**: Fixed file icons displaying incorrectly on the shared-files page + +--- + ## ✨ Features | Feature | Description | diff --git a/app.py b/app.py index ec5cb05..d859e16 100644 --- a/app.py +++ b/app.py @@ -1173,10 +1173,13 @@ def shared_files(): shares_list = [] for share in user_shares: + name = os.path.basename(share['original_path']) + ext = name.rsplit('.', 1)[1].lower() if not share['is_dir'] and '.' in name else '' shares_list.append({ 'share_id': share['share_id'], - 'name': os.path.basename(share['original_path']), + 'name': name, 'path': share['original_path'], + 'ext': ext, 'created_at': share['created_at'], 'downloads': share['downloads'], 'is_dir': bool(share['is_dir']) diff --git a/templates/base.html b/templates/base.html index 08cfdbd..10b2e9f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,742 +1,742 @@ - - -
- - -管理你的文件与文件夹