mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Adding content type (#143800)
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
This commit is contained in:
parent
0092f0ac53
commit
bbbf9f8985
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ export class ScreenshottingExamplePlugin implements Plugin<void, void> {
|
|||
);
|
||||
|
||||
return response.ok({
|
||||
headers: { 'content-type': 'application/json' },
|
||||
body: JSON.stringify({
|
||||
metrics,
|
||||
image: results[0]?.screenshots[0]?.data.toString('base64'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue