mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-05-22 13:23:19 +12:00
Fix for Chrome
This commit is contained in:
parent
944799d44e
commit
b9fde938e9
|
@ -4,6 +4,7 @@
|
|||
"name": "fimfic2epub",
|
||||
"short_name": "fimfic2epub",
|
||||
"description": "Improved EPUB exporter for Fimfiction",
|
||||
"version": "0.0",
|
||||
|
||||
"icons": {
|
||||
"128": "icon-128.png"
|
||||
|
@ -27,7 +28,8 @@
|
|||
},
|
||||
|
||||
"web_accessible_resources": [
|
||||
"fimfic2epub-logo.png"
|
||||
"fimfic2epub-logo.png",
|
||||
"build/fonts/fontawesome-webfont.ttf"
|
||||
],
|
||||
|
||||
"permissions": [
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "fimfic2epub",
|
||||
"version": "1.7.2",
|
||||
"version": "1.7.3",
|
||||
"description": "Tool to generate improved EPUB ebooks from Fimfiction stories",
|
||||
"author": "djazz",
|
||||
"repository": {
|
||||
|
|
|
@ -48,7 +48,7 @@ export default function fetch (url, responseType) {
|
|||
headers: {
|
||||
'accept': '*/*' // Fix for not getting webp images from Fimfiction
|
||||
},
|
||||
referrer: 'https://fimfiction.net/'
|
||||
referrer: window.location.origin
|
||||
}).then((response) => {
|
||||
if (responseType === 'blob') {
|
||||
response.blob().then(resolve, reject)
|
||||
|
|
Loading…
Reference in a new issue