Skip to content

Conversation

@langren1353
Copy link
Contributor

When watch Video at filebrowser, there will be a 500 server error at right bottom of the page #1972
The reason is SideBar.vue will check disk useage when route changes, but when path is a file, server will return a 500 error
Before:
file: 500 error
dir: true useage
After:
file: 0 useage
dir: true useage

@langren1353 langren1353 requested a review from o1egl as a code owner June 6, 2022 16:33
Copy link
Contributor

@ramiresviana ramiresviana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Retrieving the usage by providing a path to a file causes this error on Windows. I think the proposed solution is good for now.

o1egl and others added 2 commits June 13, 2022 12:35
Co-authored-by: Ramires Viana <59319979+ramiresviana@users.noreply.github.com>
@o1egl o1egl merged commit 577c0ef into filebrowser:master Jun 13, 2022
rahul-r pushed a commit to rahul-r/filebrowser that referenced this pull request Sep 2, 2022
* fix: use incorrect suffix and return no 500(filebrowser#1972filebrowser#1967)

* chore: set progress bar to small

Co-authored-by: Ramires Viana <59319979+ramiresviana@users.noreply.github.com>

* chore: refactoring

Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
Co-authored-by: Ramires Viana <59319979+ramiresviana@users.noreply.github.com>
Shada pushed a commit to Shada/filebrowser that referenced this pull request Feb 22, 2023
* fix: use incorrect suffix and return no 500(filebrowser#1972filebrowser#1967)

* chore: set progress bar to small

Co-authored-by: Ramires Viana <59319979+ramiresviana@users.noreply.github.com>

* chore: refactoring

Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
Co-authored-by: Ramires Viana <59319979+ramiresviana@users.noreply.github.com>
@langren1353 langren1353 deleted the master branch April 7, 2023 09:38
Shada pushed a commit to Shada/filebrowser that referenced this pull request Apr 10, 2023
* fix: use incorrect suffix and return no 500(filebrowser#1972filebrowser#1967)

* chore: set progress bar to small

Co-authored-by: Ramires Viana <59319979+ramiresviana@users.noreply.github.com>

* chore: refactoring

Co-authored-by: Oleg Lobanov <oleg@lobanov.me>
Co-authored-by: Ramires Viana <59319979+ramiresviana@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants