Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
fix: upload url
Browse files Browse the repository at this point in the history
  • Loading branch information
AlxisHenry committed Dec 20, 2022
1 parent 5786e2b commit 978486e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/download.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @param string $domain
*/
function download(string $category, string $file, string $domain) {
$url = "$domain/public/$category/$file";
$url = "$domain/shared/$category/$file";
header("Content-Description: File Transfer");
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename=$file");
Expand Down

0 comments on commit 978486e

Please sign in to comment.