Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
400
Browse files Browse the repository at this point in the history
rayangler committed Nov 21, 2024
1 parent 37e0609 commit 6f349c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion netlify/functions/fetch-url.js
Original file line number Diff line number Diff line change
@@ -39,7 +39,8 @@ async function handler(req, context) {
return handleURL({ url });
}

return new Response('', { status: 200 });
// Expected to only work when a url query param is defined
return new Response(null, { status: 400 });
}

export default handler;

0 comments on commit 6f349c9

Please sign in to comment.