From 6cec87eb14cdf6405df1095e55e49e9e84f6f93d Mon Sep 17 00:00:00 2001 From: prototrip Date: Sat, 7 Aug 2021 14:14:18 +0300 Subject: [PATCH] changed headers --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index ff2a8cc..e60e96c 100644 --- a/api.php +++ b/api.php @@ -17,7 +17,7 @@ $api->any('/', function ($requst) { if (file_exists($attachment_location)) { $headers[] = $_SERVER["SERVER_PROTOCOL"] . " 200 OK"; - $headers[] = "Cache-Control: public"); + $headers[] = "Cache-Control: public"; $headers[] = "Content-Type: application/text"; $headers[] = "Content-Transfer-Encoding: Binary"; $headers[] = "Content-Length:".filesize($attachment_location);