I\'m generating a .ics calendar entry from JS, next I open it using a data-URI:
window.open(\"data:text/calendar;charset=utf8,\" + escape(icsMSG));
>
It appears there is a way to do this without using a server-side script. I answered a similar Stack Overflow question when I found this snippet that worked for me in the github issues for react-add-to-calendar:
var blob = new Blob([icsMSG], { type: 'text/calendar;charset=utf-8' });
window.navigator.msSaveOrOpenBlob(blob, 'download.ics');
This is working for me in Internet Explorer 11 without having to use a server to download the file.