forked from buttercup/secure-file-host
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support drives other than C:\ on Windows
Edited `filesystem.js` functions to support Windows drives - `getDirectoryContents` shows a list of Windows drives when requested `/` root path - Subsequent paths will be formatted as `/<drive letter>/<path>`. Eg. `/c/Users/neojp/Desktop/archive.bcup` - A new function `normalizeWindowsPath` will convert server request paths into resolved Windows paths `/c/Users/neojp/Desktop/archive.bcup` -> `c:\\Users\\neojp\\Desktop\\archive.bcup` Fixes buttercup#3
- Loading branch information
Showing
1 changed file
with
69 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters