fix useless template literal
parent
7a3a1ee432
commit
0bcc08a5ef
|
|
@ -280,7 +280,7 @@ export default async function handler(request, response) {
|
|||
});
|
||||
}
|
||||
}
|
||||
response.setHeader('Content-Disposition', `inline; filename=calendar.ics`);
|
||||
response.setHeader('Content-Disposition', 'inline; filename=calendar.ics');
|
||||
response.setHeader('Content-Type', 'text/calendar; charset=utf-8');
|
||||
response.send(calendar.toString());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -409,7 +409,7 @@ export default async function handler(
|
|||
}
|
||||
}
|
||||
|
||||
response.setHeader('Content-Disposition', `inline; filename=calendar.ics`)
|
||||
response.setHeader('Content-Disposition', 'inline; filename=calendar.ics')
|
||||
|
||||
response.setHeader('Content-Type', 'text/calendar; charset=utf-8')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue