Fix firefox fetch issue in GitHub API

This commit is contained in:
Mathias Biilmann Christensen 2017-03-15 00:06:31 -07:00
parent adb4a1d3d2
commit 5e504bbc5a

View File

@ -142,7 +142,7 @@ export default class API {
return this.request(`${ this.repoURL }/contents/${ path }`, {
headers: { Accept: "application/vnd.github.VERSION.raw" },
params: { ref: branch },
cache: false,
cache: "no-store",
}).then((result) => {
if (sha) {
LocalForage.setItem(`gh.${ sha }`, result);