mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 22:40:20 +08:00
Remove auth_token from /down call
This commit is contained in:
parent
d20249f29a
commit
f62617a8bf
@ -1538,7 +1538,7 @@ window.trigger_download = (paths)=>{
|
||||
let urls = [];
|
||||
for (let index = 0; index < paths.length; index++) {
|
||||
urls.push({
|
||||
download: window.api_origin + "/down?path=" + paths[index] + "&auth_token=" + window.auth_token,
|
||||
download: window.api_origin + "/down?path=" + paths[index],
|
||||
filename: path.basename(paths[index]),
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user