Skip to content

Commit 3b1334f

Browse files
committed
fix: file size mismatch fixed
1 parent ea6f806 commit 3b1334f

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

FileFlow/backend/api/upload.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ def upload_file():
6969

7070
new_file = File(filename=filename, filepath=str(filepath),
7171
user_id=current_user.id,
72-
parent_folder_id=parent_folder_id)
72+
parent_folder_id=parent_folder_id,
73+
filesize=file_size)
7374

7475
db.session.add(new_file)
7576
db.session.commit()

FileFlow/frontend/templates/dashboard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
<span id="item-count">{{ files|length }} items</span> | <span id="selection-info">0 items selected</span>
8787
</div>
8888
<div class="right">
89-
<span>FileFlow v1.0</span>
89+
<span>Created by: <a href="https://amitdevx.tech" target="_blank" style="color: #007bff; text-decoration: none;">Divekar Amit Eknath</a></span>
9090
</div>
9191
</div>
9292
</div>

FileFlow/frontend/templates/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<h1>FileFlow: Cloud File Manager</h1>
1212

13-
<p style="font-size: 0.95rem; color: #666; margin-bottom: 2rem;">Created by: Divekar Amit Eknath</p>
13+
<p style="font-size: 1.3rem; font-weight: 600; margin-bottom: 2rem;">Created by: <a href="https://amitdevx.tech" target="_blank" style="color: #007bff; text-decoration: none;">Divekar Amit Eknath</a></p>
1414

1515
{% if not current_user.is_authenticated %}
1616
<div class="auth-buttons">

0 commit comments

Comments
 (0)