Skip to content

Commit

Permalink
fix: dont double stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
maxakuru committed Dec 10, 2024
1 parent 7006d4e commit 1188880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default async function configHandler(ctx) {
await assertAuthorization(ctx);

if (method === 'GET') {
return new Response(JSON.stringify(ctx.config.confMapStr), {
return new Response(ctx.config.confMapStr, {
headers: {
'Content-Type': 'application/json',
},
Expand Down

0 comments on commit 1188880

Please sign in to comment.