summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/store/modules/Logs/EventLogStore.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/store/modules/Logs/EventLogStore.js b/src/store/modules/Logs/EventLogStore.js
index f302dffb..469aa26c 100644
--- a/src/store/modules/Logs/EventLogStore.js
+++ b/src/store/modules/Logs/EventLogStore.js
@@ -222,7 +222,11 @@ const EventLogStore = {
},
async downloadEntry(_, uri) {
return await api
- .get(uri)
+ .get(uri, {
+ headers: {
+ Accept: 'application/octet-stream',
+ },
+ })
.then((response) => {
const blob = new Blob([response.data], {
type: response.headers['content-type'],