+5
-1
src/pages-service.js
+5
-1
src/pages-service.js
···
122
122
if (this.verbose) {
123
123
console.log(`Fetching ${url}`);
124
124
}
125
-
const res = await fetch(url);
125
+
const res = await fetch(url, {
126
+
headers: {
127
+
Accept: "application/json",
128
+
},
129
+
});
126
130
const blob = await res.json();
127
131
const content = blob.contents;
128
132
this.fileCache.set(filename, content);