Browse Source

Update index.php

Capitan Cloud 2 years ago
parent
commit
f85bb92e82
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Public/index.php

+ 1 - 1
Public/index.php

@@ -183,7 +183,7 @@ switch ($url) {
     $filePath = $JAR_PATH . DIRECTORY_SEPARATOR . $fileName;
        
     if (filesize($filePath) <= APP_FILE_MAX_SIZE) { 
-      header("Content-Type: unknown");
+      header("Content-Type: avatarfree/bin");
       header("Content-Disposition: attachment; filename=" . $orioriFilename . ".$fileExt");
       echo(file_get_contents($filePath));
     } else {