Use Content-Type: text/calendar for ics files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
d971e015a6
commit
03dbceea5a
@ -129,7 +129,7 @@ class ICalService {
|
|||||||
header('Expires: 0');
|
header('Expires: 0');
|
||||||
header('Cache-Control: must-revalidate');
|
header('Cache-Control: must-revalidate');
|
||||||
header('Pragma: public');
|
header('Pragma: public');
|
||||||
header("Content-Type: text/plain");
|
header("Content-Type: text/calendar");
|
||||||
echo $ical_text;
|
echo $ical_text;
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user