From d33612905a1d1e81349a276de4641ce04da07038 Mon Sep 17 00:00:00 2001 From: Emily Brown Date: Thu, 18 Dec 2025 11:07:37 +0000 Subject: [PATCH] add content type header for the open in editor toolbar button --- front_end/panels/sources/UISourceCodeFrame.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/front_end/panels/sources/UISourceCodeFrame.ts b/front_end/panels/sources/UISourceCodeFrame.ts index e7ad654e003..a98ac01d463 100644 --- a/front_end/panels/sources/UISourceCodeFrame.ts +++ b/front_end/panels/sources/UISourceCodeFrame.ts @@ -106,6 +106,9 @@ export class UISourceCodeFrame extends fetch('/open-stack-frame', { method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, body: JSON.stringify(body), }).catch(e => console.error(e)); });