Skip to content

Commit

Permalink
Updates webmention response to redirect to a thank you page.
Browse files Browse the repository at this point in the history
  • Loading branch information
qubyte committed Mar 14, 2024
1 parent af5205c commit f0c1fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/receive-webmention.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export default async function handler(req) {
return handleError(e, 'UNKNOWN ERROR CREATING ISSUE');
}

return new Response('Accepted', { status: 202 });
return new Response('Accepted', { status: 303, headers: { Location: '/webmention' } });
}

export const config = {
Expand Down

0 comments on commit f0c1fe5

Please sign in to comment.