Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhosny committed Oct 31, 2023
1 parent 5a00e4b commit f153607
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion functions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export const onRequest: PgFunction = async function (context) {
const response = new Response(modifiedBody, originalResponse);
const linkHeader = `<${url.origin}/oembed?url=${oembedUrl}&format=json>; rel="alternate"; type="application/json+oembed"; title="LiveCodes"`;
response.headers.append('Link', linkHeader);
response.headers.append('Project-title', title || '');

context.data = {
...data,
Expand Down

0 comments on commit f153607

Please sign in to comment.