kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Token handling for downloads
rodzic
1b64ce4b3b
commit
3f1a35ac58
|
@ -266,10 +266,10 @@ $(function() {
|
||||||
task.resetOutput();
|
task.resetOutput();
|
||||||
});
|
});
|
||||||
Task.prototype.download = function() {
|
Task.prototype.download = function() {
|
||||||
location.href = "/task/" + this.uuid + "/download/all.zip";
|
location.href = "/task/" + this.uuid + "/download/all.zip?token=" + token;
|
||||||
};
|
};
|
||||||
Task.prototype.downloadOrthophoto = function() {
|
Task.prototype.downloadOrthophoto = function() {
|
||||||
location.href = "/task/" + this.uuid + "/download/orthophoto.tif";
|
location.href = "/task/" + this.uuid + "/download/orthophoto.tif?token=" + token;
|
||||||
};
|
};
|
||||||
|
|
||||||
var taskList = new TaskList();
|
var taskList = new TaskList();
|
||||||
|
|
Ładowanie…
Reference in New Issue