diff --git a/packages/bridge-ui/src/routes/api/test/+server.ts b/packages/bridge-ui/src/routes/api/test/+server.ts index 6b760770aad..7c60627ae21 100644 --- a/packages/bridge-ui/src/routes/api/test/+server.ts +++ b/packages/bridge-ui/src/routes/api/test/+server.ts @@ -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', + }, + }); };