Fix media and sleep bar layout
This commit is contained in:
+2
-2
@@ -2050,7 +2050,7 @@ final class App
|
||||
$mime = mime_content_type($path) ?: 'application/octet-stream';
|
||||
header('Content-Type: ' . $mime);
|
||||
header('Content-Length: ' . (string) filesize($path));
|
||||
header('Cache-Control: private, max-age=3600');
|
||||
header('Cache-Control: private, max-age=604800');
|
||||
readfile($path);
|
||||
exit;
|
||||
}
|
||||
@@ -2081,7 +2081,7 @@ final class App
|
||||
$mime = mime_content_type($path) ?: 'application/octet-stream';
|
||||
header('Content-Type: ' . $mime);
|
||||
header('Content-Length: ' . (string) filesize($path));
|
||||
header('Cache-Control: private, max-age=3600');
|
||||
header('Cache-Control: private, max-age=604800');
|
||||
readfile($path);
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user