mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-29 08:34:50 +02:00
Merge pull request #42 from 45Drives/fix-nonroot-download
fix non-root download
This commit is contained in:
commit
a84e401a3f
@ -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 + '"',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user