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)); });