Backport pull request #6011 from jellyfin-web/release-10.9.z
Fix network mode for localhost server Original-merge: b9925ebf73744b0765fe5796392a701020f0df54 Merged-by: thornbill <thornbill@users.noreply.github.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
committed by
Joshua M. Boniface
parent
5eb91ea398
commit
819537da0f
@@ -1,3 +1,12 @@
|
||||
import { QueryClient } from '@tanstack/react-query';
|
||||
|
||||
export const queryClient = new QueryClient();
|
||||
export const queryClient = new QueryClient({
|
||||
defaultOptions: {
|
||||
mutations: {
|
||||
networkMode: 'always' // network connection is not required if running on localhost
|
||||
},
|
||||
queries: {
|
||||
networkMode: 'always' // network connection is not required if running on localhost
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user