mirror of
https://github.com/stashapp/CommunityScripts.git
synced 2025-12-10 11:05:38 -06:00
Enhance fetch interceptor to support new GraphQL response content type
This commit is contained in:
parent
215ee83f34
commit
d0d0b2a774
@ -12,7 +12,8 @@
|
||||
if (
|
||||
typeof resource === "string" &&
|
||||
contentType &&
|
||||
contentType.indexOf("application/json") !== -1 &&
|
||||
(contentType.indexOf('application/json') !== -1 ||
|
||||
contentType.indexOf('application/graphql-response+json') !== -1) &&
|
||||
resource.endsWith("/graphql")
|
||||
) {
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user