We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6db53de commit 2947967Copy full SHA for 2947967
src/yahrzeit.js
@@ -454,7 +454,6 @@ export async function yahrzeitDownload(ctx) {
454
if (query.i === 'on') {
455
icalOpt.location = Location.lookup('Jerusalem');
456
} else if (ctx.get('user-agent') === 'Google-Calendar-Importer') {
457
- ctx.set('Vary', 'User-Agent');
458
icalOpt.location = Location.lookup('New York');
459
}
460
const zeroEvents = events.length === 0;
@@ -466,6 +465,7 @@ export async function yahrzeitDownload(ctx) {
466
465
for (const icalEv of icals) {
467
icalEv.locationName = undefined;
468
+ ctx.set('Vary', 'User-Agent');
469
ctx.body = await icalEventsToString(icals, icalOpt);
470
} else if (extension == '.csv') {
471
const euro = Boolean(query.euro);
0 commit comments