Merge pull request #42 from 45Drives/fix-nonroot-download

fix non-root download
This commit is contained in:
Josh Boudreau 2021-12-01 12:46:49 -04:00 committed by GitHub
commit a84e401a3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ export class NavDownloader {
payload: 'fsread1', payload: 'fsread1',
binary: 'raw', binary: 'raw',
path: this.path, path: this.path,
superuser: true, superuser: false,
max_read_size: this.read_size, max_read_size: this.read_size,
external: { external: {
'content-disposition': 'attachment; filename="' + this.filename + '"', 'content-disposition': 'attachment; filename="' + this.filename + '"',