Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
KorbinianK committed May 2, 2024
1 parent ddce785 commit 64eb395
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/bridge-ui/src/routes/api/test/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,9 @@ export const GET: RequestHandler = ({ url }) => {

const random = min + Math.random() * d;

return new Response(String(random));
return new Response(JSON.stringify({ random }), {
headers: {
'Content-Type': 'application/json',
},
});
};

0 comments on commit 64eb395

Please sign in to comment.