mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Files] Make download route public (#163408)
## Summary fix https://github.com/elastic/kibana/issues/163364 in serverless Similar to https://github.com/elastic/kibana/pull/162707/, the the endpoint is used by `<img src=""/>` and should work without any special headers
This commit is contained in:
parent
c13dcf47c5
commit
7025a7bdab
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ export function register(fileKindRouter: FileKindRouter, fileKind: FileKind) {
|
|||
validate: { ...rt },
|
||||
options: {
|
||||
tags: fileKind.http.download.tags,
|
||||
access: 'public', // the endpoint is used by <img src=""/> and should work without any special headers
|
||||
},
|
||||
},
|
||||
handler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue