diff --git a/src/store/editor/actions.ts b/src/store/editor/actions.ts index 247f7582..ea3910f4 100644 --- a/src/store/editor/actions.ts +++ b/src/store/editor/actions.ts @@ -53,8 +53,9 @@ export const actions: ActionTree = { lastLoaded: lastLoaded, lastTimestamp: lastTimestamp }) - } - }).then(res => res.data) + }, + responseType: 'blob' + }).then(res => res.data.text()) .then(file => { commit('openFile', { filename: payload.filename,